diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 66229ffa909b..75924ea69071 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -198,8 +198,10 @@ void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit); | |||
198 | Suspend/Resume | 198 | Suspend/Resume |
199 | -------------------------------------------------------------------------- */ | 199 | -------------------------------------------------------------------------- */ |
200 | #ifdef CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT | 200 | #ifdef CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT |
201 | extern bool acpi_s2idle_wakeup(void); | ||
201 | extern int acpi_sleep_init(void); | 202 | extern int acpi_sleep_init(void); |
202 | #else | 203 | #else |
204 | static inline bool acpi_s2idle_wakeup(void) { return false; } | ||
203 | static inline int acpi_sleep_init(void) { return -ENXIO; } | 205 | static inline int acpi_sleep_init(void) { return -ENXIO; } |
204 | #endif | 206 | #endif |
205 | 207 | ||