Re: [PATCH 4/5] irqchip: mxs: include linux/irqchip/mxs.h

From: Shawn Guo
Date: Sat May 27 2023 - 06:39:49 EST


On Tue, May 16, 2023 at 10:05:07PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> This header contains the definition for icoll_handle_irq(), which
> is used in arch/arm/mach-mxs/mach-mxs.c, without this we get a warning
> about a missing prototype when building with W=1.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx>

> ---
> drivers/irqchip/irq-mxs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c
> index 55cb6b5a686e..b3b1fba871c1 100644
> --- a/drivers/irqchip/irq-mxs.c
> +++ b/drivers/irqchip/irq-mxs.c
> @@ -9,6 +9,7 @@
> #include <linux/init.h>
> #include <linux/irq.h>
> #include <linux/irqchip.h>
> +#include <linux/irqchip/mxs.h>
> #include <linux/irqdomain.h>
> #include <linux/io.h>
> #include <linux/of.h>
> --
> 2.39.2
>