diff mbox series

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

Message ID 20191018105348.10210-1-ben.dooks@codethink.co.uk (mailing list archive)
State New, archived
Headers show
Series fiq: include <asm/mach/irq.h> for missing declarations | expand

Commit Message

Ben Dooks Oct. 18, 2019, 10:53 a.m. UTC
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) <ben.dooks@codethink.co.uk>
---
KernelVersion: 5.4-rc3
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
---
 arch/arm/kernel/fiq.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/kernel/fiq.c b/arch/arm/kernel/fiq.c
index cd1234c103fc..54b665dc14f7 100644
--- a/arch/arm/kernel/fiq.c
+++ b/arch/arm/kernel/fiq.c
@@ -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;		\