summaryrefslogtreecommitdiffstats
path: root/include/acpi/acconfig.h
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-10-29 09:30:29 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-31 14:35:49 +0100
commitc0144dc0e43ed97d60ce34c900a4326bb087bf11 (patch)
treed4781d86686962ee688aab6dd34495431cf2f079 /include/acpi/acconfig.h
parentcd27d79f56e77924b6c66fa4a48306209b93605f (diff)
downloadop-kernel-dev-c0144dc0e43ed97d60ce34c900a4326bb087bf11.zip
op-kernel-dev-c0144dc0e43ed97d60ce34c900a4326bb087bf11.tar.gz
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>
Diffstat (limited to 'include/acpi/acconfig.h')
-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 1c16f82..d98c670 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
/******************************************************************************
*
OpenPOWER on IntegriCloud