diff options
author | Janne Grunau <j@jannau.net> | 2009-04-01 07:49:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 20:44:15 -0400 |
commit | 119753a4640e9961cdb75c89630e8ffbedad79a7 (patch) | |
tree | 2d2a9f4fa42d9a733719df5942ab6dc894939686 /drivers/media/video/w9968cf.c | |
parent | 4bb685108e0189e4c3acda06f79886d79465b45a (diff) |
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>
Diffstat (limited to 'drivers/media/video/w9968cf.c')
-rw-r--r-- | drivers/media/video/w9968cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/w9968cf.c b/drivers/media/video/w9968cf.c index 3b08bc4af909..df181e86f9cb 100644 --- a/drivers/media/video/w9968cf.c +++ b/drivers/media/video/w9968cf.c | |||
@@ -3440,7 +3440,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id) | |||
3440 | if (!cam) | 3440 | if (!cam) |
3441 | return -ENOMEM; | 3441 | return -ENOMEM; |
3442 | 3442 | ||
3443 | err = v4l2_device_register(&udev->dev, &cam->v4l2_dev); | 3443 | err = v4l2_device_register(&intf->dev, &cam->v4l2_dev); |
3444 | if (err) | 3444 | if (err) |
3445 | goto fail0; | 3445 | goto fail0; |
3446 | 3446 | ||