summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-12-28 10:44:46 -0700
committerJagan Teki <[email protected]>2020-01-24 23:06:48 +0530
commit0f67fc232834eec476f5f34a752ed10e17637265 (patch)
treea1407ada3c1cec5b26bc6f258b57af926b6854bd /include
parent532f90235aa8824037b13bc559723b55620370fe (diff)
common: Move jumptable_init() out of common.h
This function is defined in exports.c so move it to its header file. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/common.h3
-rw-r--r--include/exports.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index 82228e20507..6b7b199ab45 100644
--- a/include/common.h
+++ b/include/common.h
@@ -80,9 +80,6 @@ extern ulong load_addr; /* Default Load Address */
extern ulong save_addr; /* Default Save Address */
extern ulong save_size; /* Default Save Size */
-/* common/exports.c */
-void jumptable_init(void);
-
/* common/kallsysm.c */
const char *symbol_lookup(unsigned long addr, unsigned long *caddr);
diff --git a/include/exports.h b/include/exports.h
index 35f463287fb..cbd16fc5185 100644
--- a/include/exports.h
+++ b/include/exports.h
@@ -13,6 +13,9 @@
struct spi_slave;
+/* Set up the jump table for use by the API */
+void jumptable_init(void);
+
/* These are declarations of exported functions available in C code */
unsigned long get_version(void);
int getc(void);