diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 11:53:35 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 11:53:35 +0100 |
commit | 1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0 (patch) | |
tree | c320e74151142a12ec427ededd2ac2fe18ce5a97 /include/linux/pm_runtime.h | |
parent | 15efb47dc560849d0c07db96fdad5121f2cf736e (diff) | |
parent | a08c2a5a31941131c41feaa0429e4c8854cf48f2 (diff) | |
download | lwn-1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0.tar.gz lwn-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; } |