diff options
author | 2019-02-01 11:53:35 +0100 | |
---|---|---|
committer | 2019-02-01 11:53:35 +0100 | |
commit | 1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0 (patch) | |
tree | c320e74151142a12ec427ededd2ac2fe18ce5a97 /include/linux/pm_runtime.h | |
parent | PM-runtime: Fix deadlock with ktime_get() (diff) | |
parent | PM-runtime: Replace jiffies-based accounting with ktime-based accounting (diff) | |
download | wireguard-linux-1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0.tar.xz wireguard-linux-1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0.zip |
Merge back earlier PM core material for v5.1.
Diffstat (limited to 'include/linux/pm_runtime.h')
-rw-r--r-- | include/linux/pm_runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h index fed5be706bc9..9dc6eebf62d2 100644 --- a/include/linux/pm_runtime.h +++ b/include/linux/pm_runtime.h @@ -113,6 +113,8 @@ static inline bool pm_runtime_is_irq_safe(struct device *dev) return dev->power.irq_safe; } +extern u64 pm_runtime_suspended_time(struct device *dev); + #else /* !CONFIG_PM */ static inline bool queue_pm_work(struct work_struct *work) { return false; } |