PM-runtime: Add new interface to get accounted time
[linux-2.6-microblaze.git] / include / linux / pm_runtime.h
index 54af4ee..a370006 100644 (file)
@@ -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; }