aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/zc0301/zc0301_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/zc0301/zc0301_core.c')
-rw-r--r--drivers/media/video/zc0301/zc0301_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/zc0301/zc0301_core.c b/drivers/media/video/zc0301/zc0301_core.c
index 550ce7bd5c8..0c3287734c9 100644
--- a/drivers/media/video/zc0301/zc0301_core.c
+++ b/drivers/media/video/zc0301/zc0301_core.c
@@ -1988,6 +1988,7 @@ zc0301_usb_probe(struct usb_interface* intf, const struct usb_device_id* id)
cam->v4ldev->fops = &zc0301_fops;
cam->v4ldev->minor = video_nr[dev_nr];
cam->v4ldev->release = video_device_release;
+ cam->v4ldev->parent = &udev->dev;
video_set_drvdata(cam->v4ldev, cam);
init_completion(&cam->probe);