Skip to contentSkip to conversation

fiq: include <asm/mach/irq.h> for missing declarations

PATCH New Ben Dooks (Codethink) 1 participant 1 message Oct 18, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

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?

---
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
index cd1234c103fc..54b665dc14f7 100644
@@ -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