summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/w9968cf.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/w9968cf.c')
-rw-r--r--linux/drivers/media/video/w9968cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/w9968cf.c b/linux/drivers/media/video/w9968cf.c
index cf8548a7f..63658bfd2 100644
--- a/linux/drivers/media/video/w9968cf.c
+++ b/linux/drivers/media/video/w9968cf.c
@@ -3454,7 +3454,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id)
if (!cam)
return -ENOMEM;
- err = v4l2_device_register(&udev->dev, &cam->v4l2_dev);
+ err = v4l2_device_register(&intf->dev, &cam->v4l2_dev);
if (err)
goto fail0;