]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/suspend.h
Merge branch 'msm-smp' of git://codeaurora.org/quic/kernel/davidb/linux-msm
[karo-tx-linux.git] / include / linux / suspend.h
index 26697514c5ece07d72f6e07022f43ee86d187de0..144b34be5c326a0a9ea88f3413c99760cc7b5dce 100644 (file)
@@ -292,7 +292,7 @@ extern int unregister_pm_notifier(struct notifier_block *nb);
 /* drivers/base/power/wakeup.c */
 extern bool events_check_enabled;
 
-extern bool pm_check_wakeup_events(void);
+extern bool pm_wakeup_pending(void);
 extern bool pm_get_wakeup_count(unsigned int *count);
 extern bool pm_save_wakeup_count(unsigned int count);
 #else /* !CONFIG_PM_SLEEP */
@@ -309,7 +309,7 @@ static inline int unregister_pm_notifier(struct notifier_block *nb)
 
 #define pm_notifier(fn, pri)   do { (void)(fn); } while (0)
 
-static inline bool pm_check_wakeup_events(void) { return true; }
+static inline bool pm_wakeup_pending(void) { return false; }
 #endif /* !CONFIG_PM_SLEEP */
 
 extern struct mutex pm_mutex;