]> Git Repo - linux.git/commitdiff
ARM: 9315/1: fiq: include asm/mach/irq.h for prototypes
authorArnd Bergmann <[email protected]>
Fri, 2 Jun 2023 18:28:59 +0000 (19:28 +0100)
committerRussell King (Oracle) <[email protected]>
Mon, 19 Jun 2023 08:36:00 +0000 (09:36 +0100)
There are two global functions in fiq.c that get called from
other files through an extern declaration, but a W=1 build
warns about the header not being included before the definition:

arch/arm/kernel/fiq.c:85:5: error: no previous prototype for 'show_fiq_list' [-Werror=missing-prototypes]
arch/arm/kernel/fiq.c:159:13: error: no previous prototype for 'init_FIQ' [-Werror=missing-prototypes]

Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
arch/arm/kernel/fiq.c

index 98ca3e3fa8471f9cd490bf5fe31c7720f89b641f..d2c8e53135397e3fdebd1cd3ed6a0a58bb198c1d 100644 (file)
@@ -45,6 +45,7 @@
 #include <asm/cacheflush.h>
 #include <asm/cp15.h>
 #include <asm/fiq.h>
+#include <asm/mach/irq.h>
 #include <asm/irq.h>
 #include <asm/traps.h>
 
This page took 0.057922 seconds and 4 git commands to generate.