mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (11358): w9968cf: use usb_interface.dev for v4l2_device_register
Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4bb685108e
commit
119753a464
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue