diff options
| author | Simon Glass <[email protected]> | 2019-12-28 10:44:46 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-01-17 13:26:49 -0500 |
| commit | a6f2aafe0966f23e3fb3146fb80a4565163157c3 (patch) | |
| tree | c19e3e99cfa665fd4bcb353570c3111235029b38 /include | |
| parent | 941338725d339c233379def75adeaa0977587a96 (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.h | 3 | ||||
| -rw-r--r-- | include/exports.h | 3 |
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); |
