diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 08:57:14 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 14:42:49 +0200 |
commit | d965771ea56f6291c8e50bd194ac21427af759a5 (patch) | |
tree | 4ea1a596baaa0982aa4f3677137bd429b7031931 /arch/arm/mach-ep93xx | |
parent | da60d8b1757c8897ae884ef8ed08d094d7c274fb (diff) | |
download | barebox-d965771ea56f6291c8e50bd194ac21427af759a5.tar.gz barebox-d965771ea56f6291c8e50bd194ac21427af759a5.tar.xz |
arm: Add prototypes for functions called from assembly
Some functions are called from assembly only. There's no prototype
for them so this leads to -Wmissing-prototypes warnings. Add a prototype
right aboce the functions to avoid these warnings.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/header.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/header.c b/arch/arm/mach-ep93xx/header.c index 4e6a2e57c8..a9dde2d8b0 100644 --- a/arch/arm/mach-ep93xx/header.c +++ b/arch/arm/mach-ep93xx/header.c @@ -2,6 +2,8 @@ #include <linux/compiler.h> #include <asm/barebox-arm-head.h> +void go(void); + void __naked __section(.flash_header_start) go(void) { barebox_arm_head(); |