mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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 <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
941338725d
commit
a6f2aafe09
3 changed files with 4 additions and 3 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <common.h>
|
||||
#include <api.h>
|
||||
#include <cpu_func.h>
|
||||
#include <exports.h>
|
||||
#include <irq_func.h>
|
||||
#include <u-boot/crc.h>
|
||||
/* TODO: can we just include all these headers whether needed or not? */
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue