From: Janne Grunau Date: Wed, 1 Apr 2009 11:47:35 +0000 (-0300) Subject: V4L/DVB (11356): au0828: use usb_interface.dev for v4l2_device_register X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a4124aa95834a6c508e963354205b25cac5352f0;p=linux-2.6-omap-h63xx.git V4L/DVB (11356): au0828: use usb_interface.dev for v4l2_device_register Signed-off-by: Janne Grunau Acked-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/au0828/au0828-core.c b/drivers/media/video/au0828/au0828-core.c index 8c761d16444..6c711464b71 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, i = atomic_inc_return(&au0828_instance) - 1; snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s-%03d", "au0828", i); - retval = v4l2_device_register(&dev->usbdev->dev, &dev->v4l2_dev); + retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); if (retval) { printk(KERN_ERR "%s() v4l2_device_register failed\n", __func__);