[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230810123404.1222332-1-arnd@kernel.org>
Date: Thu, 10 Aug 2023 14:33:54 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>, Marc Zyngier <maz@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>, linux-kernel@...r.kernel.org
Subject: [PATCH 1/3] irqchip: xtensa-pic: include header for xtensa_pic_init_legacy()
From: Arnd Bergmann <arnd@...db.de>
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@...db.de>
---
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 ab12328be5eed..0c18d1f1e264f 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;
--
2.39.2
Powered by blists - more mailing lists