diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-26 02:43:05 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-26 02:43:05 +0400 |
commit | 0015afaa1f818d38ea9f8e81a84a6aeeca5fdaf0 (patch) | |
tree | 8f8279cf0117d210230ef9fcacb05f960bf6f8f5 /include/linux/pm_qos.h | |
parent | b7ba68c4a072c9aa8f04b8cf7838b6cd2f48d918 (diff) | |
parent | 00dc9ad18d707f36b2fb4af98fd2cf0548d2b258 (diff) | |
download | linux-0015afaa1f818d38ea9f8e81a84a6aeeca5fdaf0.tar.xz |
Merge branch 'pm-runtime' into pm-for-linus
* pm-runtime:
PM / Runtime: Use device PM QoS constraints (v2)
Diffstat (limited to 'include/linux/pm_qos.h')
-rw-r--r-- | include/linux/pm_qos.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h index 83b0ea302a80..775a3236343d 100644 --- a/include/linux/pm_qos.h +++ b/include/linux/pm_qos.h @@ -78,6 +78,7 @@ int pm_qos_remove_notifier(int pm_qos_class, struct notifier_block *notifier); int pm_qos_request_active(struct pm_qos_request *req); s32 pm_qos_read_value(struct pm_qos_constraints *c); +s32 __dev_pm_qos_read_value(struct device *dev); s32 dev_pm_qos_read_value(struct device *dev); int dev_pm_qos_add_request(struct device *dev, struct dev_pm_qos_request *req, s32 value); @@ -119,6 +120,8 @@ static inline int pm_qos_request_active(struct pm_qos_request *req) static inline s32 pm_qos_read_value(struct pm_qos_constraints *c) { return 0; } +static inline s32 __dev_pm_qos_read_value(struct device *dev) + { return 0; } static inline s32 dev_pm_qos_read_value(struct device *dev) { return 0; } static inline int dev_pm_qos_add_request(struct device *dev, |