diff options
author | Feng Tang <feng.tang@intel.com> | 2009-07-28 11:41:53 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-29 01:57:29 +0200 |
commit | e55a5999ffcf72dc4d43d73618957964cb87065a (patch) | |
tree | da891ef97f9b51b03cd64077f79a09ea361b1599 /drivers/acpi/blacklist.c | |
parent | ACPI: check acpi_disabled in acpi_table_parse() and acpi_table_parse_entries() (diff) | |
download | linux-e55a5999ffcf72dc4d43d73618957964cb87065a.tar.xz linux-e55a5999ffcf72dc4d43d73618957964cb87065a.zip |
ACPI: Handle CONFIG_ACPI=n better from linux/acpi.h
linux/acpi.h is the top level header for interfacing
with the ACPI sub-system, so acpi_disabled should be
up there instead of down in asm/acpi.h -- particularly
since asm/acpi.h doesn't exist for all architectures.
Same story for acpi_table_parse(), which is a top-level
API to Linux/ACPI.
This is necessary for building some code that
used to always depend on CONFIG_ACPI=y, but will soon
also need to build with CONFIG_ACPI=n.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/blacklist.c')
0 files changed, 0 insertions, 0 deletions