From: Ralf Baechle Date: Thu, 31 Jul 2008 12:38:44 +0000 (+0100) Subject: [MIPS] emma2rh: Fix build error by header file inclusion weeding. X-Git-Tag: v2.6.27-rc5~28^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2841d8b893fd326aa039f28c3040378db8ebe8ef;p=linux-2.6-omap-h63xx.git [MIPS] emma2rh: Fix build error by header file inclusion weeding. CC arch/mips/emma2rh/markeins/setup.o In file included from arch/mips/emma2rh/markeins/setup.c:30: include/linux/ide.h:645: error: ‘CONFIG_IDE_MAX_HWIFS’ undeclared here (not in a function) make[1]: *** [arch/mips/emma2rh/markeins/setup.o] Error 1 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/emma2rh/markeins/setup.c b/arch/mips/emma2rh/markeins/setup.c index 822a20e21fa..b6a23ad539f 100644 --- a/arch/mips/emma2rh/markeins/setup.c +++ b/arch/mips/emma2rh/markeins/setup.c @@ -25,23 +25,9 @@ #include #include #include -#include -#include -#include -#include /* for HZ */ -#include -#include -#include - -#include -#include -#include + #include -#include -#include #include -#include -#include #include