summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 08:22:40 -0600
committerTom Rini <trini@konsulko.com>2017-06-05 11:02:29 -0400
commit12d738ae4c97c551df6ed0ebe93406683f6032c1 (patch)
treec676584ad98541c12ccbe6857c8e26edcf733e0c /include
parent4baf23e0beaca4ea90983c8f97e1bba0282b5fc1 (diff)
api: Add a header for api_init()
Put this in its own header instead of using common.h. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/api.h13
-rw-r--r--include/common.h3
2 files changed, 13 insertions, 3 deletions
diff --git a/include/api.h b/include/api.h
new file mode 100644
index 0000000000..85817f3400
--- /dev/null
+++ b/include/api.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2017 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __API_H
+#define __API_H
+
+void api_init(void);
+
+#endif
diff --git a/include/common.h b/include/common.h
index 8b64407fd1..fb4e79bb39 100644
--- a/include/common.h
+++ b/include/common.h
@@ -465,9 +465,6 @@ void jumptable_init(void);
/* common/kallsysm.c */
const char *symbol_lookup(unsigned long addr, unsigned long *caddr);
-/* api/api.c */
-void api_init (void);
-
/* common/memsize.c */
long get_ram_size (long *, long);
phys_size_t get_effective_memsize(void);