Commit 119753a4 authored by Janne Grunau's avatar Janne Grunau Committed by Mauro Carvalho Chehab

V4L/DVB (11358): w9968cf: use usb_interface.dev for v4l2_device_register

Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4bb68510
......@@ -3440,7 +3440,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment