Skip to contentSkip to conversation

irqchip/mmp: fix missing include of <linux/irqchip/mmp.h>

PATCH New Ben Dooks 1 participant 1 message Jul 21, 2022 irqchip drivers

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

PATCH 1/1 irqchip/mmp: fix missing include of <linux/irqchip/mmp.h>

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?

---
 drivers/irqchip/irq-mmp.c | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/irq-mmp.c +1 -0
index 83455ca72439..dcc30bee572e 100644
@@ -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>
Signature · 1 line
2.35.1