aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/suspend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r--include/linux/suspend.h7
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 */
291extern bool events_check_enabled;
292
293extern bool pm_check_wakeup_events(void);
294extern bool pm_get_wakeup_count(unsigned long *count);
295extern bool pm_save_wakeup_count(unsigned long count);
289#else /* !CONFIG_PM_SLEEP */ 296#else /* !CONFIG_PM_SLEEP */
290 297
291static inline int register_pm_notifier(struct notifier_block *nb) 298static inline int register_pm_notifier(struct notifier_block *nb)