diff options
Diffstat (limited to 'drivers/base/power/qos.c')
-rw-r--r-- | drivers/base/power/qos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index 40ff1b02a7c5..96d27b821bb8 100644 --- a/drivers/base/power/qos.c +++ b/drivers/base/power/qos.c | |||
@@ -90,7 +90,7 @@ static int apply_constraint(struct dev_pm_qos_request *req, | |||
90 | int ret, curr_value; | 90 | int ret, curr_value; |
91 | 91 | ||
92 | ret = pm_qos_update_target(&req->dev->power.qos->latency, | 92 | ret = pm_qos_update_target(&req->dev->power.qos->latency, |
93 | &req->node, action, value); | 93 | &req->data.pnode, action, value); |
94 | 94 | ||
95 | if (ret) { | 95 | if (ret) { |
96 | /* Call the global callbacks if needed */ | 96 | /* Call the global callbacks if needed */ |
@@ -183,7 +183,7 @@ void dev_pm_qos_constraints_destroy(struct device *dev) | |||
183 | 183 | ||
184 | c = &qos->latency; | 184 | c = &qos->latency; |
185 | /* Flush the constraints list for the device */ | 185 | /* Flush the constraints list for the device */ |
186 | plist_for_each_entry_safe(req, tmp, &c->list, node) { | 186 | plist_for_each_entry_safe(req, tmp, &c->list, data.pnode) { |
187 | /* | 187 | /* |
188 | * Update constraints list and call the notification | 188 | * Update constraints list and call the notification |
189 | * callbacks if needed | 189 | * callbacks if needed |
@@ -293,7 +293,7 @@ int dev_pm_qos_update_request(struct dev_pm_qos_request *req, | |||
293 | mutex_lock(&dev_pm_qos_mtx); | 293 | mutex_lock(&dev_pm_qos_mtx); |
294 | 294 | ||
295 | if (req->dev->power.qos) { | 295 | if (req->dev->power.qos) { |
296 | if (new_value != req->node.prio) | 296 | if (new_value != req->data.pnode.prio) |
297 | ret = apply_constraint(req, PM_QOS_UPDATE_REQ, | 297 | ret = apply_constraint(req, PM_QOS_UPDATE_REQ, |
298 | new_value); | 298 | new_value); |
299 | } else { | 299 | } else { |