Skip to content

Commit 9bdd26b

Browse files
arndbMarc Zyngier
authored andcommitted
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 <[email protected]> Reviewed-by: Max Filippov <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 2e99b73 commit 9bdd26b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/irq-xtensa-pic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <linux/irqdomain.h>
1717
#include <linux/irq.h>
1818
#include <linux/irqchip.h>
19+
#include <linux/irqchip/xtensa-pic.h>
1920
#include <linux/of.h>
2021

2122
unsigned int cached_irq_mask;

0 commit comments

Comments
 (0)