projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM-runtime: Add new interface to get accounted time
[linux-2.6-microblaze.git]
/
include
/
linux
/
pm_runtime.h
diff --git
a/include/linux/pm_runtime.h
b/include/linux/pm_runtime.h
index
54af4ee
..
a370006
100644
(file)
--- 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; }