public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip/mmp: fix missing include of <linux/irqchip/mmp.h>
@ 2022-07-21 21:45 Ben Dooks
  0 siblings, 0 replies; only message in thread
From: Ben Dooks @ 2022-07-21 21:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: maz, tglx, Ben Dooks

The icu_irq_chip is deifned in <linux/irqchip/mmp.h> but the
irq-mmp.c does not include this to get the definition of this
symbol. Include the header to fix the following sparse warning:

drivers/irqchip/irq-mmp.c:139:17: warning: symbol 'icu_irq_chip' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
---
 drivers/irqchip/irq-mmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 83455ca72439..dcc30bee572e 100644
--- a/drivers/irqchip/irq-mmp.c
+++ b/drivers/irqchip/irq-mmp.c
@@ -14,6 +14,7 @@
 #include <linux/irq.h>
 #include <linux/irqchip.h>
 #include <linux/irqchip/chained_irq.h>
+#include <linux/irqchip/mmp.h>
 #include <linux/irqdomain.h>
 #include <linux/io.h>
 #include <linux/ioport.h>
-- 
2.35.1


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

only message in thread, other threads:[~2022-07-21 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-21 21:45 [PATCH] irqchip/mmp: fix missing include of <linux/irqchip/mmp.h> Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox