diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 66229ffa909b..be79f7db1850 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -198,8 +198,12 @@ 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); | ||
202 | extern bool acpi_sleep_no_ec_events(void); | ||
201 | extern int acpi_sleep_init(void); | 203 | extern int acpi_sleep_init(void); |
202 | #else | 204 | #else |
205 | static inline bool acpi_s2idle_wakeup(void) { return false; } | ||
206 | static inline bool acpi_sleep_no_ec_events(void) { return true; } | ||
203 | static inline int acpi_sleep_init(void) { return -ENXIO; } | 207 | static inline int acpi_sleep_init(void) { return -ENXIO; } |
204 | #endif | 208 | #endif |
205 | 209 | ||