]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - kernel/pm_qos_params.c
3c59x: fix build failure on !CONFIG_PCI
[net-next-2.6.git] / kernel / pm_qos_params.c
index a96b850ba08a6a47dc9c9bd624849c4fbfe99349..c7a8f453919e65a42e0251b968a2d3652e0a4c3a 100644 (file)
@@ -399,7 +399,7 @@ static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
        } else
                return -EINVAL;
 
-       pm_qos_req = (struct pm_qos_request_list *)filp->private_data;
+       pm_qos_req = filp->private_data;
        pm_qos_update_request(pm_qos_req, value);
 
        return count;