From: Arnd Bergmann Date: Fri, 2 Jun 2023 18:28:59 +0000 (+0100) Subject: ARM: 9315/1: fiq: include asm/mach/irq.h for prototypes X-Git-Tag: v6.5-rc1~215^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85e18ed32e2602c6985c85eec9da717b8daaf6b0;p=thirdparty%2Flinux.git ARM: 9315/1: fiq: include asm/mach/irq.h for prototypes 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 Signed-off-by: Arnd Bergmann Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c index 98ca3e3fa8471..d2c8e53135397 100644 --- a/arch/arm/kernel/fiq.c +++ b/arch/arm/kernel/fiq.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include