diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-15 07:57:15 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-18 10:10:40 +0100 |
commit | 27166fb0b1eaa538555fe1306b5ca8922520584f (patch) | |
tree | 5e02d175ea86ed2116d886be447663fc3a9e6720 /arch/arm/mach-mvebu | |
parent | a194fa7518d8677a364492fd973af6b9ce0f0541 (diff) | |
download | barebox-27166fb0b1eaa538555fe1306b5ca8922520584f.tar.gz barebox-27166fb0b1eaa538555fe1306b5ca8922520584f.tar.xz |
treewide: Make locally used functions static
Many functions are only used locally but still are globally visible.
Make these function static. Avoids warnings generated with -Wmissing-prototypes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r-- | arch/arm/mach-mvebu/include/mach/bbu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/bbu.h b/arch/arm/mach-mvebu/include/mach/bbu.h index a06db2b144..f23c3269c0 100644 --- a/arch/arm/mach-mvebu/include/mach/bbu.h +++ b/arch/arm/mach-mvebu/include/mach/bbu.h @@ -3,7 +3,7 @@ int mvebu_bbu_flash_register_handler(const char *name, char *devicefile, int version, bool isdefault); #else -int mvebu_bbu_flash_register_handler(const char *name, +static inline int mvebu_bbu_flash_register_handler(const char *name, char *devicefile, int version, bool isdefault) { |