V4L/DVB (8786): v4l2: remove the priv field, use dev_get_drvdata instead
[deliverable/linux.git] / drivers / media / video / pwc / pwc-v4l.c
index 1742889874df08c6f944b4b066fa1111fcff2e4a..76a1376c9751dd1c06acacc766af6676a36efe40 100644 (file)
@@ -346,7 +346,7 @@ int pwc_video_do_ioctl(struct inode *inode, struct file *file,
 
        if (vdev == NULL)
                return -EFAULT;
-       pdev = vdev->priv;
+       pdev = video_get_drvdata(vdev);
        if (pdev == NULL)
                return -EFAULT;
 
This page took 0.025434 seconds and 5 git commands to generate.