From: Feng Tang Date: Tue, 28 Jul 2009 09:41:53 +0000 (+0800) Subject: ACPI: Handle CONFIG_ACPI=n better from linux/acpi.h X-Git-Tag: v2.6.32-rc1~170^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e55a5999ffcf72dc4d43d73618957964cb87065a;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed