diff options
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index f4c2fe6be4f2..afe6636f9ad3 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -194,9 +194,6 @@ void acpi_ec_ecdt_probe(void); | |||
194 | void acpi_ec_dsdt_probe(void); | 194 | void acpi_ec_dsdt_probe(void); |
195 | void acpi_ec_block_transactions(void); | 195 | void acpi_ec_block_transactions(void); |
196 | void acpi_ec_unblock_transactions(void); | 196 | void acpi_ec_unblock_transactions(void); |
197 | void acpi_ec_mark_gpe_for_wake(void); | ||
198 | void acpi_ec_set_gpe_wake_mask(u8 action); | ||
199 | void acpi_ec_dispatch_gpe(void); | ||
200 | int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, | 197 | int acpi_ec_add_query_handler(struct acpi_ec *ec, u8 query_bit, |
201 | acpi_handle handle, acpi_ec_query_func func, | 198 | acpi_handle handle, acpi_ec_query_func func, |
202 | void *data); | 199 | void *data); |
@@ -204,6 +201,7 @@ void acpi_ec_remove_query_handler(struct acpi_ec *ec, u8 query_bit); | |||
204 | 201 | ||
205 | #ifdef CONFIG_PM_SLEEP | 202 | #ifdef CONFIG_PM_SLEEP |
206 | void acpi_ec_flush_work(void); | 203 | void acpi_ec_flush_work(void); |
204 | bool acpi_ec_dispatch_gpe(void); | ||
207 | #endif | 205 | #endif |
208 | 206 | ||
209 | 207 | ||
@@ -212,11 +210,9 @@ void acpi_ec_flush_work(void); | |||
212 | -------------------------------------------------------------------------- */ | 210 | -------------------------------------------------------------------------- */ |
213 | #ifdef CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT | 211 | #ifdef CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT |
214 | extern bool acpi_s2idle_wakeup(void); | 212 | extern bool acpi_s2idle_wakeup(void); |
215 | extern bool acpi_sleep_no_ec_events(void); | ||
216 | extern int acpi_sleep_init(void); | 213 | extern int acpi_sleep_init(void); |
217 | #else | 214 | #else |
218 | static inline bool acpi_s2idle_wakeup(void) { return false; } | 215 | static inline bool acpi_s2idle_wakeup(void) { return false; } |
219 | static inline bool acpi_sleep_no_ec_events(void) { return true; } | ||
220 | static inline int acpi_sleep_init(void) { return -ENXIO; } | 216 | static inline int acpi_sleep_init(void) { return -ENXIO; } |
221 | #endif | 217 | #endif |
222 | 218 | ||