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:
Janne Grunau 2009-04-01 08:49:16 -03:00 committed by Mauro Carvalho Chehab
parent 4bb685108e
commit 119753a464
1 changed files with 1 additions and 1 deletions

View File

@ -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;