linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fiq: include <asm/mach/irq.h> for missing declarations
@ 2019-10-18 10:53 Ben Dooks (Codethink)
  0 siblings, 0 replies; only message in thread
From: Ben Dooks (Codethink) @ 2019-10-18 10:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ben Dooks (Codethink), Russell King, linux-arm-kernel

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 --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;		\
-- 
2.23.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-18 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18 10:53 [PATCH] fiq: include <asm/mach/irq.h> for missing declarations Ben Dooks (Codethink)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).