irqchip: irq-xtensa-mx: include header for missing prototype
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 20 Sep 2023 05:21:32 +0000 (22:21 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 20 Sep 2023 12:03:20 +0000 (05:03 -0700)
commit373e41633c35992df4e8c1bde8f0a3a29d4ade08
treeabb7d9cf04c109e33c3444f65ab466ee8656d9d1
parent1c4087e97eb53b45709d12d2c96f03e26bcaee12
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>
drivers/irqchip/irq-xtensa-mx.c