aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-09-19 00:37:13 -0400
committerLen Brown <len.brown@intel.com>2009-09-19 00:37:13 -0400
commit003d6a38ce1a59e0053a02fd9e9a65b588bc8e33 (patch)
treec9b941f4798a2accca200b0b01c07353ce5b07e1 /include
parent71fd68e7d234f6b7d8407c8f486764d24f8411f4 (diff)
parente55a5999ffcf72dc4d43d73618957964cb87065a (diff)
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.h2
-rw-r--r--include/linux/acpi.h11
2 files changed, 10 insertions, 3 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 1fa3ffb7c93b..ca59ee9cc651 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -30,8 +30,6 @@
30 30
31#include <acpi/acpi.h> 31#include <acpi/acpi.h>
32 32
33#define PREFIX "ACPI: "
34
35/* TBD: Make dynamic */ 33/* TBD: Make dynamic */
36#define ACPI_MAX_HANDLES 10 34#define ACPI_MAX_HANDLES 10
37struct acpi_handle_list { 35struct acpi_handle_list {
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 34321cfffeab..3fce811bf9ac 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -292,7 +292,10 @@ void __init acpi_s4_no_nvs(void);
292extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags); 292extern acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 flags);
293extern void acpi_early_init(void); 293extern void acpi_early_init(void);
294 294
295#else /* CONFIG_ACPI */ 295#else /* !CONFIG_ACPI */
296
297#define acpi_disabled 1
298
296static inline void acpi_early_init(void) { } 299static inline void acpi_early_init(void) { }
297 300
298static inline int early_acpi_boot_init(void) 301static inline int early_acpi_boot_init(void)
@@ -331,5 +334,11 @@ static inline int acpi_check_mem_region(resource_size_t start,
331 return 0; 334 return 0;
332} 335}
333 336
337struct acpi_table_header;
338static inline int acpi_table_parse(char *id,
339 int (*handler)(struct acpi_table_header *))
340{
341 return -1;
342}
334#endif /* !CONFIG_ACPI */ 343#endif /* !CONFIG_ACPI */
335#endif /*_LINUX_ACPI_H*/ 344#endif /*_LINUX_ACPI_H*/