summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-10-29 02:30:29 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-31 14:35:49 +0100
commitc0144dc0e43ed97d60ce34c900a4326bb087bf11 (patch)
treed4781d86686962ee688aab6dd34495431cf2f079
parentACPICA: Fix indentation issues for macro invocations. (diff)
downloadlinux-c0144dc0e43ed97d60ce34c900a4326bb087bf11.tar.xz
linux-c0144dc0e43ed97d60ce34c900a4326bb087bf11.zip
ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro.
Surround definition of this with a #ifndef so that the kernel can define it elsewhere if desired. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--include/acpi/acconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h
index 1c16f821434f..d98c67001840 100644
--- a/include/acpi/acconfig.h
+++ b/include/acpi/acconfig.h
@@ -100,7 +100,9 @@
* ACPI PM timer
* FACS table (Waking vectors and Global Lock)
*/
+#ifndef ACPI_REDUCED_HARDWARE
#define ACPI_REDUCED_HARDWARE FALSE
+#endif
/******************************************************************************
*