diff options
author | Janne Grunau <j@jannau.net> | 2009-04-01 07:47:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-06 20:44:14 -0400 |
commit | a4124aa95834a6c508e963354205b25cac5352f0 (patch) | |
tree | c808b966228dbb013eec7736bb41bf62c613f867 /drivers/media/video/au0828/au0828-core.c | |
parent | 70ad6383541c56dc82071b30249df56dfdcdd27f (diff) |
V4L/DVB (11356): au0828: use usb_interface.dev for v4l2_device_register
Signed-off-by: Janne Grunau <j@jannau.net>
Acked-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/au0828/au0828-core.c')
-rw-r--r-- | drivers/media/video/au0828/au0828-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/au0828/au0828-core.c b/drivers/media/video/au0828/au0828-core.c index 8c761d164442..6c711464b714 100644 --- a/drivers/media/video/au0828/au0828-core.c +++ b/drivers/media/video/au0828/au0828-core.c | |||
@@ -200,7 +200,7 @@ static int au0828_usb_probe(struct usb_interface *interface, | |||
200 | i = atomic_inc_return(&au0828_instance) - 1; | 200 | i = atomic_inc_return(&au0828_instance) - 1; |
201 | snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s-%03d", | 201 | snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s-%03d", |
202 | "au0828", i); | 202 | "au0828", i); |
203 | retval = v4l2_device_register(&dev->usbdev->dev, &dev->v4l2_dev); | 203 | retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); |
204 | if (retval) { | 204 | if (retval) { |
205 | printk(KERN_ERR "%s() v4l2_device_register failed\n", | 205 | printk(KERN_ERR "%s() v4l2_device_register failed\n", |
206 | __func__); | 206 | __func__); |