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: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2841d8b893fd326aa039f28c3040378db8ebe8ef;p=linux-2.6 [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 822a20e21f..b6a23ad539 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