diff options
author | Len Brown <len.brown@intel.com> | 2009-09-19 00:37:13 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-09-19 00:37:13 -0400 |
commit | 003d6a38ce1a59e0053a02fd9e9a65b588bc8e33 (patch) | |
tree | c9b941f4798a2accca200b0b01c07353ce5b07e1 /include | |
parent | 71fd68e7d234f6b7d8407c8f486764d24f8411f4 (diff) | |
parent | e55a5999ffcf72dc4d43d73618957964cb87065a (diff) | |
download | linux-3.10-003d6a38ce1a59e0053a02fd9e9a65b588bc8e33.tar.gz linux-3.10-003d6a38ce1a59e0053a02fd9e9a65b588bc8e33.tar.bz2 linux-3.10-003d6a38ce1a59e0053a02fd9e9a65b588bc8e33.zip |
Merge branch 'sfi-base' into release
Conflicts:
drivers/acpi/power.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 | ||||
-rw-r--r-- | include/linux/acpi.h | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 1fa3ffb7c93..ca59ee9cc65 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -30,8 +30,6 @@ #include <acpi/acpi.h> -#define PREFIX "ACPI: " - /* TBD: Make dynamic */ #define ACPI_MAX_HANDLES 10 struct acpi_handle_list { diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 34321cfffea..3fce811bf9a 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -292,7 +292,10 @@ void __init acpi_s4_no_nvs(void); extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags); extern void acpi_early_init(void); -#else /* CONFIG_ACPI */ +#else /* !CONFIG_ACPI */ + +#define acpi_disabled 1 + static inline void acpi_early_init(void) { } static inline int early_acpi_boot_init(void) @@ -331,5 +334,11 @@ static inline int acpi_check_mem_region(resource_size_t start, return 0; } +struct acpi_table_header; +static inline int acpi_table_parse(char *id, + int (*handler)(struct acpi_table_header *)) +{ + return -1; +} #endif /* !CONFIG_ACPI */ #endif /*_LINUX_ACPI_H*/ |