diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-07-16 04:58:30 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-22 19:10:45 -0400 |
commit | 633adaba49d46dcaa4289de5b25c562b54ff575b (patch) | |
tree | 9541518180d66ff37e877e0be7164b1dc0e727d2 | |
parent | d334c823b27401721591e0f1220050a41af08165 (diff) |
ACPICA: Linux: Allow ACPICA inclusion for CONFIG_ACPI=n builds.
This patch moves <acpi/acpi.h> out of CONFIG_ACPI condition so that all
ACPICA prototypes can be seen by the CONFIG_ACPI=n Linux kernel builds.
Note that we can do this because ACPICA has implemented stubs for all
ACPICA prototypes that are currently referenced by the Linux kernel.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | include/linux/acpi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 358c01b971db..5320153c311b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -29,17 +29,17 @@ | |||
29 | #include <linux/ioport.h> /* for struct resource */ | 29 | #include <linux/ioport.h> /* for struct resource */ |
30 | #include <linux/device.h> | 30 | #include <linux/device.h> |
31 | 31 | ||
32 | #ifdef CONFIG_ACPI | ||
33 | |||
34 | #ifndef _LINUX | 32 | #ifndef _LINUX |
35 | #define _LINUX | 33 | #define _LINUX |
36 | #endif | 34 | #endif |
35 | #include <acpi/acpi.h> | ||
36 | |||
37 | #ifdef CONFIG_ACPI | ||
37 | 38 | ||
38 | #include <linux/list.h> | 39 | #include <linux/list.h> |
39 | #include <linux/mod_devicetable.h> | 40 | #include <linux/mod_devicetable.h> |
40 | #include <linux/dynamic_debug.h> | 41 | #include <linux/dynamic_debug.h> |
41 | 42 | ||
42 | #include <acpi/acpi.h> | ||
43 | #include <acpi/acpi_bus.h> | 43 | #include <acpi/acpi_bus.h> |
44 | #include <acpi/acpi_drivers.h> | 44 | #include <acpi/acpi_drivers.h> |
45 | #include <acpi/acpi_numa.h> | 45 | #include <acpi/acpi_numa.h> |