diff options
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r-- | include/linux/suspend.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index cd83059fb592..0c808d7fa579 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -408,6 +408,12 @@ static inline void unlock_system_sleep(void) {} | |||
408 | 408 | ||
409 | #endif /* !CONFIG_PM_SLEEP */ | 409 | #endif /* !CONFIG_PM_SLEEP */ |
410 | 410 | ||
411 | #ifdef CONFIG_PM_SLEEP_DEBUG | ||
412 | extern bool pm_print_times_enabled; | ||
413 | #else | ||
414 | #define pm_print_times_enabled (false) | ||
415 | #endif | ||
416 | |||
411 | #ifdef CONFIG_PM_AUTOSLEEP | 417 | #ifdef CONFIG_PM_AUTOSLEEP |
412 | 418 | ||
413 | /* kernel/power/autosleep.c */ | 419 | /* kernel/power/autosleep.c */ |