Skip to content

Commit 373e416

Browse files
rddunlapjcmvbkbc
authored andcommitted
irqchip: irq-xtensa-mx: include header for missing prototype
Add <linux/irqchips/xtensa-mx.h> to provide the function prototype to prevent a build warning: drivers/irqchip/irq-xtensa-mx.c:166:12: warning: no previous prototype for 'xtensa_mx_init_legacy' [-Wmissing-prototypes] 166 | int __init xtensa_mx_init_legacy(struct device_node *interrupt_parent) Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Marc Zyngier <maz@kernel.org> Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <maz@kernel.org> Message-Id: <20230920052139.10570-10-rdunlap@infradead.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent 1c4087e commit 373e416

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/irqchip/irq-xtensa-mx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/irqdomain.h>
1313
#include <linux/irq.h>
1414
#include <linux/irqchip.h>
15+
#include <linux/irqchip/xtensa-mx.h>
1516
#include <linux/of.h>
1617

1718
#include <asm/mxregs.h>

0 commit comments

Comments
 (0)