diff options
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r-- | include/linux/suspend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index bc7d6bb4cd8e..bf1bab7b059c 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -286,6 +286,13 @@ extern int unregister_pm_notifier(struct notifier_block *nb); | |||
286 | { .notifier_call = fn, .priority = pri }; \ | 286 | { .notifier_call = fn, .priority = pri }; \ |
287 | register_pm_notifier(&fn##_nb); \ | 287 | register_pm_notifier(&fn##_nb); \ |
288 | } | 288 | } |
289 | |||
290 | /* drivers/base/power/wakeup.c */ | ||
291 | extern bool events_check_enabled; | ||
292 | |||
293 | extern bool pm_check_wakeup_events(void); | ||
294 | extern bool pm_get_wakeup_count(unsigned long *count); | ||
295 | extern bool pm_save_wakeup_count(unsigned long count); | ||
289 | #else /* !CONFIG_PM_SLEEP */ | 296 | #else /* !CONFIG_PM_SLEEP */ |
290 | 297 | ||
291 | static inline int register_pm_notifier(struct notifier_block *nb) | 298 | static inline int register_pm_notifier(struct notifier_block *nb) |