irqchip/xtensa-pic: Include header for xtensa_pic_init_legacy()
authorArnd Bergmann <arnd@arndb.de>
Thu, 10 Aug 2023 12:33:54 +0000 (14:33 +0200)
committerMarc Zyngier <maz@kernel.org>
Mon, 21 Aug 2023 16:40:08 +0000 (17:40 +0100)
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
drivers/irqchip/irq-xtensa-pic.c

index ab12328..0c18d1f 100644 (file)
@@ -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;