irqchip/gic-v2m: Include arm-gic-common.h
authorThomas Gleixner <tglx@linutronix.de>
Mon, 21 Nov 2022 14:39:32 +0000 (15:39 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Dec 2022 11:50:17 +0000 (12:50 +0100)
W=1 build complains:

drivers/irqchip/irq-gic-v2m.c:570:12: warning: no previous prototype for ‘gicv2m_init’ [-Wmissing-prototypes]
  570 | int __init gicv2m_init(struct fwnode_handle *parent_handle,

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221121140048.470680255@linutronix.de
drivers/irqchip/irq-gic-v2m.c

index 6e1ac330d7a600a3f37d2430fb05d5d18b3a0667..fcc871a8c2d6e85a7e609148f9266f7b4d0a57f1 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/slab.h>
 #include <linux/spinlock.h>
 #include <linux/irqchip/arm-gic.h>
+#include <linux/irqchip/arm-gic-common.h>
 
 /*
 * MSI_TYPER: