diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/pm_qos.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pm_qos.h b/include/linux/pm_qos.h index 83b0ea302a80..fe247b33652d 100644 --- a/include/linux/pm_qos.h +++ b/include/linux/pm_qos.h | |||
| @@ -91,6 +91,8 @@ int dev_pm_qos_add_global_notifier(struct notifier_block *notifier); | |||
| 91 | int dev_pm_qos_remove_global_notifier(struct notifier_block *notifier); | 91 | int dev_pm_qos_remove_global_notifier(struct notifier_block *notifier); |
| 92 | void dev_pm_qos_constraints_init(struct device *dev); | 92 | void dev_pm_qos_constraints_init(struct device *dev); |
| 93 | void dev_pm_qos_constraints_destroy(struct device *dev); | 93 | void dev_pm_qos_constraints_destroy(struct device *dev); |
| 94 | int dev_pm_qos_add_ancestor_request(struct device *dev, | ||
| 95 | struct dev_pm_qos_request *req, s32 value); | ||
| 94 | #else | 96 | #else |
| 95 | static inline int pm_qos_update_target(struct pm_qos_constraints *c, | 97 | static inline int pm_qos_update_target(struct pm_qos_constraints *c, |
| 96 | struct plist_node *node, | 98 | struct plist_node *node, |
| @@ -150,6 +152,9 @@ static inline void dev_pm_qos_constraints_destroy(struct device *dev) | |||
| 150 | { | 152 | { |
| 151 | dev->power.power_state = PMSG_INVALID; | 153 | dev->power.power_state = PMSG_INVALID; |
| 152 | } | 154 | } |
| 155 | static inline int dev_pm_qos_add_ancestor_request(struct device *dev, | ||
| 156 | struct dev_pm_qos_request *req, s32 value) | ||
| 157 | { return 0; } | ||
| 153 | #endif | 158 | #endif |
| 154 | 159 | ||
| 155 | #endif | 160 | #endif |
