fiq: include <asm/mach/irq.h> for missing declarations
PATCH 1/1 fiq: include <asm/mach/irq.h> for missing declarations
The show_fiq_list and init_FIQ are declared in the <asm/mach/irq.h> but the fiq.c does not include it. Include <asm/mach/irq.h> to remove the following sparse warning:
arch/arm/kernel/fiq.c:85:5: warning: symbol 'show_fiq_list' was not declared. Should it be static? arch/arm/kernel/fiq.c:159:13: warning: symbol 'init_FIQ' was not declared. Should it be static?
Signed-off-by Ben Dooks (Codethink) <[email protected]>
---
KernelVersion: 5.4-rc3
Cc: Russell King <[email protected]>
Cc: [email protected]
--- arch/arm/kernel/fiq.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/kernel/fiq.c +1 -0
@@ -47,6 +47,7 @@#include <asm/fiq.h> #include <asm/irq.h> #include <asm/traps.h> +#include <asm/mach/irq.h> #define FIQ_OFFSET ({ \ extern void *vector_fiq_offset; \
Signature · 7 lines
2.23.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel