[irqchip: irq/irqchip-next] irqchip/xtensa-pic: Include header for xtensa_pic_init_legacy()
From: irqchip-bot for Arnd Bergmann
Date: Mon Aug 21 2023 - 12:58:26 EST
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: 9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d
Author: Arnd Bergmann <arnd@xxxxxxxx>
AuthorDate: Thu, 10 Aug 2023 14:33:54 +02:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Mon, 21 Aug 2023 17:40:08 +01:00
irqchip/xtensa-pic: Include header for xtensa_pic_init_legacy()
The declaration for this function is not included, which leads to a harmless warning:
drivers/irqchip/irq-xtensa-pic.c:91:12: error: no previous prototype for 'xtensa_pic_init_legacy' [-Werror=missing-prototypes]
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Reviewed-by: Max Filippov <jcmvbkbc@xxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230810123404.1222332-1-arnd@xxxxxxxxxx
---
drivers/irqchip/irq-xtensa-pic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/irq-xtensa-pic.c b/drivers/irqchip/irq-xtensa-pic.c
index ab12328..0c18d1f 100644
--- a/drivers/irqchip/irq-xtensa-pic.c
+++ b/drivers/irqchip/irq-xtensa-pic.c
@@ -16,6 +16,7 @@
#include <linux/irqdomain.h>
#include <linux/irq.h>
#include <linux/irqchip.h>
+#include <linux/irqchip/xtensa-pic.h>
#include <linux/of.h>
unsigned int cached_irq_mask;