aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-08-05 00:31:42 -0400
committerLen Brown <len.brown@intel.com>2005-08-05 00:31:42 -0400
commit1d492eb41371d9a5145651e8eb64bea1042a4057 (patch)
tree2a66a8fd347cf8dd8a665c4575b30d873035a5a4 /include/linux/acpi.h
parent5d2a22079c825669d91a3a200332f1053b4b61b0 (diff)
parentcbfc1bae55bbd053308ef0fa6b6448cd1ddf3e67 (diff)
[ACPI] Merge acpi-2.6.12 branch into 2.6.13-rc3
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index b46a5205ee7b..fd48db320f5b 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -433,19 +433,9 @@ extern int sbf_port ;
433 433
434#define acpi_mp_config 0 434#define acpi_mp_config 0
435 435
436static inline int acpi_boot_init(void)
437{
438 return 0;
439}
440
441static inline int acpi_boot_table_init(void)
442{
443 return 0;
444}
445
446#endif /*!CONFIG_ACPI_BOOT*/ 436#endif /*!CONFIG_ACPI_BOOT*/
447 437
448unsigned int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low); 438int acpi_register_gsi (u32 gsi, int edge_level, int active_high_low);
449int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); 439int acpi_gsi_to_irq (u32 gsi, unsigned int *irq);
450 440
451/* 441/*
@@ -549,5 +539,17 @@ static inline int acpi_get_pxm(acpi_handle handle)
549 539
550extern int pnpacpi_disabled; 540extern int pnpacpi_disabled;
551 541
542#else /* CONFIG_ACPI */
543
544static inline int acpi_boot_init(void)
545{
546 return 0;
547}
548
549static inline int acpi_boot_table_init(void)
550{
551 return 0;
552}
553
552#endif /* CONFIG_ACPI */ 554#endif /* CONFIG_ACPI */
553#endif /*_LINUX_ACPI_H*/ 555#endif /*_LINUX_ACPI_H*/