[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1403101407440.3690@pobox.suse.cz>
Date: Mon, 10 Mar 2014 14:08:35 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Stephen Boyd <sboyd@...eaurora.org>
cc: Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] irqchip: Silence sparse warning
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@...eaurora.org>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists