diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-08-10 14:33:54 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-08-21 17:40:08 +0100 |
commit | 9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d (patch) | |
tree | bff8e55c69206654c5741ff0cb98b0b9f68a7595 /drivers/irqchip | |
parent | 2e99b73afde18853754c5fae8e8d1a66fe5e3f64 (diff) | |
download | lwn-9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d.tar.gz lwn-9bdd26b6477f798e292d0c196b9a8e5b77ce5e1d.zip |
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')
-rw-r--r-- | drivers/irqchip/irq-xtensa-pic.c | 1 |
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; |