[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070215141337.c3effca2.akpm@linux-foundation.org>
Date: Thu, 15 Feb 2007 14:13:37 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] do_basic_setup: implicit declaration of function
‘init_irq_proc'
On Thu, 15 Feb 2007 16:06:23 +0100 (CET)
Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com> wrote:
> Add missing #include <linux/irq.h>, which caused
>
> | init/main.c: In function ‘do_basic_setup’:
> | init/main.c:705: warning: implicit declaration of function ‘init_irq_proc’
>
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
>
> diff --git a/init/main.c b/init/main.c
> index 2421e15..8bba00e 100644
> --- a/init/main.c
> +++ b/init/main.c
> @@ -52,6 +52,7 @@
> #include <linux/lockdep.h>
> #include <linux/pid_namespace.h>
> #include <linux/device.h>
> +#include <linux/irq.h>
>
Russell will chuck a wobbly: `head -10 include/linux/irq.h'
Probably the init_irq_proc() declaration is in the wrong header.
-
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