summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Mosberger <davidm@napali.hpl.hp.com>2005-06-06 15:50:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-06 17:02:03 -0700
commit3f5948fa2cbbda1261eec9a39ef3004b3caf73fb (patch)
treeb754365f2ca35a8f8d77c92af8a2c9ad056f0325
parent74262de5d15fe0cab9e6fe75655a502d3c90acca (diff)
downloadop-kernel-dev-3f5948fa2cbbda1261eec9a39ef3004b3caf73fb.zip
op-kernel-dev-3f5948fa2cbbda1261eec9a39ef3004b3caf73fb.tar.gz
[PATCH] Include <linux/config.h> before testing CONFIG_ACPI
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>
-rw-r--r--include/linux/acpi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index d5a55bd..b123cc0 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -25,6 +25,8 @@
#ifndef _LINUX_ACPI_H
#define _LINUX_ACPI_H
+#include <linux/config.h>
+
#ifdef CONFIG_ACPI
#ifndef _LINUX
OpenPOWER on IntegriCloud