diff options
author | Randy Dunlap <[email protected]> | 2023-09-19 22:21:32 -0700 |
---|---|---|
committer | Max Filippov <[email protected]> | 2023-09-20 05:03:20 -0700 |
commit | 373e41633c35992df4e8c1bde8f0a3a29d4ade08 (patch) | |
tree | abb7d9cf04c109e33c3444f65ab466ee8656d9d1 | |
parent | 1c4087e97eb53b45709d12d2c96f03e26bcaee12 (diff) |
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 <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Cc: Chris Zankel <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Marc Zyngier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
-rw-r--r-- | drivers/irqchip/irq-xtensa-mx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-xtensa-mx.c b/drivers/irqchip/irq-xtensa-mx.c index 8c581c985aa7..7f314e58f3ce 100644 --- a/drivers/irqchip/irq-xtensa-mx.c +++ b/drivers/irqchip/irq-xtensa-mx.c @@ -12,6 +12,7 @@ #include <linux/irqdomain.h> #include <linux/irq.h> #include <linux/irqchip.h> +#include <linux/irqchip/xtensa-mx.h> #include <linux/of.h> #include <asm/mxregs.h> |