diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-16 04:58:08 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-22 19:10:44 -0400 |
commit | d334c823b27401721591e0f1220050a41af08165 (patch) | |
tree | e1e85c8ee39d459c457b63cc040276f4d1376a9e /include/acpi | |
parent | daba25d6e09e923ca4458211ca086eeb8bef8b5a (diff) |
ACPICA: Linux: Add support to exclude <asm/acenv.h> inclusion.
The forthcoming patch will make <acpi/acpi.h> to be visible to all kernel
source code. Thus for the architectures that do not support ACPI and
haven't implemented <asm/acenv.h>, we need to make it excluded.
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')
-rw-r--r-- | include/acpi/platform/aclinux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index cd1f052d55bb..dfba35476b8a 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
@@ -70,7 +70,9 @@ | |||
70 | #ifdef EXPORT_ACPI_INTERFACES | 70 | #ifdef EXPORT_ACPI_INTERFACES |
71 | #include <linux/export.h> | 71 | #include <linux/export.h> |
72 | #endif | 72 | #endif |
73 | #ifdef CONFIG_ACPI | ||
73 | #include <asm/acenv.h> | 74 | #include <asm/acenv.h> |
75 | #endif | ||
74 | 76 | ||
75 | #ifndef CONFIG_ACPI | 77 | #ifndef CONFIG_ACPI |
76 | 78 | ||