* [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc'
@ 2007-02-15 15:06 Geert Uytterhoeven
2007-02-15 22:13 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2007-02-15 15:06 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: Linux Kernel Development
[-- Attachment #1: Type: TEXT/PLAIN, Size: 807 bytes --]
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@sonycom.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>
#include <asm/io.h>
#include <asm/bugs.h>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc'
2007-02-15 15:06 [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc' Geert Uytterhoeven
@ 2007-02-15 22:13 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2007-02-15 22:13 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Linus Torvalds, Linux Kernel Development
On Thu, 15 Feb 2007 16:06:23 +0100 (CET)
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.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@sonycom.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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-15 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 15:06 [PATCH] do_basic_setup: implicit declaration of function ‘init_irq_proc' Geert Uytterhoeven
2007-02-15 22:13 ` Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.