diff options
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r-- | include/linux/suspend.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 0b1cf32edfd7..d9718378a8be 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -189,8 +189,6 @@ struct platform_suspend_ops { | |||
189 | struct platform_freeze_ops { | 189 | struct platform_freeze_ops { |
190 | int (*begin)(void); | 190 | int (*begin)(void); |
191 | int (*prepare)(void); | 191 | int (*prepare)(void); |
192 | void (*wake)(void); | ||
193 | void (*sync)(void); | ||
194 | void (*restore)(void); | 192 | void (*restore)(void); |
195 | void (*end)(void); | 193 | void (*end)(void); |
196 | }; | 194 | }; |
@@ -430,8 +428,7 @@ extern unsigned int pm_wakeup_irq; | |||
430 | 428 | ||
431 | extern bool pm_wakeup_pending(void); | 429 | extern bool pm_wakeup_pending(void); |
432 | extern void pm_system_wakeup(void); | 430 | extern void pm_system_wakeup(void); |
433 | extern void pm_system_cancel_wakeup(void); | 431 | extern void pm_wakeup_clear(void); |
434 | extern void pm_wakeup_clear(bool reset); | ||
435 | extern void pm_system_irq_wakeup(unsigned int irq_number); | 432 | extern void pm_system_irq_wakeup(unsigned int irq_number); |
436 | extern bool pm_get_wakeup_count(unsigned int *count, bool block); | 433 | extern bool pm_get_wakeup_count(unsigned int *count, bool block); |
437 | extern bool pm_save_wakeup_count(unsigned int count); | 434 | extern bool pm_save_wakeup_count(unsigned int count); |
@@ -481,7 +478,7 @@ static inline int unregister_pm_notifier(struct notifier_block *nb) | |||
481 | 478 | ||
482 | static inline bool pm_wakeup_pending(void) { return false; } | 479 | static inline bool pm_wakeup_pending(void) { return false; } |
483 | static inline void pm_system_wakeup(void) {} | 480 | static inline void pm_system_wakeup(void) {} |
484 | static inline void pm_wakeup_clear(bool reset) {} | 481 | static inline void pm_wakeup_clear(void) {} |
485 | static inline void pm_system_irq_wakeup(unsigned int irq_number) {} | 482 | static inline void pm_system_irq_wakeup(unsigned int irq_number) {} |
486 | 483 | ||
487 | static inline void lock_system_sleep(void) {} | 484 | static inline void lock_system_sleep(void) {} |