summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-xtensa-pic.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-08-10 15:33:54 +0300
committerMarc Zyngier <maz@kernel.org>2023-08-21 19:40:08 +0300
commit9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d (patch)
treebff8e55c69206654c5741ff0cb98b0b9f68a7595 /drivers/irqchip/irq-xtensa-pic.c
parent2e99b73afde18853754c5fae8e8d1a66fe5e3f64 (diff)
downloadlinux-9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d.tar.xz
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@arndb.de> Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230810123404.1222332-1-arnd@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-xtensa-pic.c')
-rw-r--r--drivers/irqchip/irq-xtensa-pic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-xtensa-pic.c b/drivers/irqchip/irq-xtensa-pic.c
index ab12328be5ee..0c18d1f1e264 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;