[PATCH] do_basic_setup: implicit declaration of function âinit_irq_proc'

From: Geert Uytterhoeven
Date: Thu Feb 15 2007 - 10:06:44 EST


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@xxxxxxxxxxx>

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@xxxxxxxxxxx ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium