aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
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*/