[tip:,irq/core] irqchip/gic-v2m: Include arm-gic-common.h

Message ID 167032787643.4906.14992962434440513220.tip-bot2@tip-bot2
State New
Headers
Series [tip:,irq/core] irqchip/gic-v2m: Include arm-gic-common.h |

Commit Message

tip-bot2 for Thomas Gleixner Dec. 6, 2022, 11:57 a.m. UTC
  The following commit has been merged into the irq/core branch of tip:

Commit-ID:     72a3f8f22a36aaf05da8941535d1c553fe049b2b
Gitweb:        https://git.kernel.org/tip/72a3f8f22a36aaf05da8941535d1c553fe049b2b
Author:        Thomas Gleixner <tglx@linutronix.de>
AuthorDate:    Mon, 21 Nov 2022 15:39:32 +01:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 06 Dec 2022 12:50:17 +01:00

irqchip/gic-v2m: Include arm-gic-common.h

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 | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c
index 6e1ac33..fcc871a 100644
--- a/drivers/irqchip/irq-gic-v2m.c
+++ b/drivers/irqchip/irq-gic-v2m.c
@@ -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: