Fix the following warning: PBLCC arch/arm/boards/at91sam9261ek/pbl-lowlevel_init.o arch/arm/boards/at91sam9261ek/lowlevel_init.c:120:26: warning: no previous prototype for ‘barebox_arm_reset_vector’ [-Wmissing-prototypes] Prototype added so it covers machs with their own definition and the machs using the arm general variant Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> --- arch/arm/include/asm/barebox-arm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index e065b479e..312685486 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -25,6 +25,7 @@ #ifndef _BAREBOX_ARM_H_ #define _BAREBOX_ARM_H_ +#include <init.h> #include <linux/sizes.h> #include <asm-generic/memory_layout.h> #include <linux/kernel.h> @@ -58,6 +59,7 @@ void setup_c(void); void relocate_to_current_adr(void); void relocate_to_adr(unsigned long target); void __noreturn barebox_arm_entry(unsigned long membase, unsigned long memsize, void *boarddata); +void __naked __bare_init barebox_arm_reset_vector(void); struct barebox_arm_boarddata { #define BAREBOX_ARM_BOARDDATA_MAGIC 0xabe742c3 -- 2.12.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox