[PATCH] Include <linux/config.h> before testing CONFIG_ACPI
authorDavid Mosberger <davidm@napali.hpl.hp.com>
Mon, 6 Jun 2005 22:50:09 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 7 Jun 2005 00:02:03 +0000 (17:02 -0700)
I'm not sure why this issue is suddenly showing, but without this
patchlet, the zx1 config won't compile anymore (e.g., to see the
compilation-error, look for "***" in [1]).

[1] http://www.gelato.unsw.edu.au/kerncomp/results//2005-06-06-17-00/zx1_defconfig-log.html

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/acpi.h

index d5a55bdb9c3cca13bc4c66e01da0b440341f0781..b123cc08773d30fccf89c1d0a0aa4e79fcaa2512 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef _LINUX_ACPI_H
 #define _LINUX_ACPI_H
 
+#include <linux/config.h>
+
 #ifdef CONFIG_ACPI
 
 #ifndef _LINUX