Re: [PATCH] irqchip: Silence sparse warning
From: Jiri Kosina
Date: Mon Mar 10 2014 - 09:08:45 EST
On Tue, 4 Mar 2014, Stephen Boyd wrote:
> drivers/irqchip/irqchip.c:27:13: warning: symbol 'irqchip_init'
> was not declared. Should it be static?
>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
Why do we have to have drivers/irqchip/irqchip.h and
include/linux/irqchip.h anyway?
> ---
> drivers/irqchip/irqchip.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/irqchip/irqchip.c b/drivers/irqchip/irqchip.c
> index f496afce29de..3469141f10f6 100644
> --- a/drivers/irqchip/irqchip.c
> +++ b/drivers/irqchip/irqchip.c
> @@ -10,6 +10,7 @@
>
> #include <linux/init.h>
> #include <linux/of_irq.h>
> +#include <linux/irqchip.h>
>
> #include "irqchip.h"
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/