Skip to content

Commit

Permalink
V4L/DVB (11358): w9968cf: use usb_interface.dev for v4l2_device_register
Browse files Browse the repository at this point in the history
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Janne Grunau authored and Mauro Carvalho Chehab committed Apr 7, 2009
1 parent 4bb6851 commit 119753a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/w9968cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 119753a

Please sign in to comment.