]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
V4L/DVB (11358): w9968cf: use usb_interface.dev for v4l2_device_register
authorJanne Grunau <j@jannau.net>
Wed, 1 Apr 2009 11:49:16 +0000 (08:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:15 +0000 (21:44 -0300)
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/w9968cf.c

index 3b08bc4af909c57131ed90d67d76e496809103cb..df181e86f9cb5c1aed2316e5a6c9744cbe4bcb07 100644 (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;