# HG changeset patch # User Janne Grunau <j@xxxxxxxxxx> # Date 1238338428 -7200 # Node ID 1fd54536517a9be6f93f5711766bb8efd64ddbdf # Parent 2d52ac089920f9ac36960c0245442fd89a06bb75 au0828: use usb_interface.dev for v4l2_device_register Priority: normal Signed-off-by: Janne Grunau <j@xxxxxxxxxx> diff -r 2d52ac089920 -r 1fd54536517a linux/drivers/media/video/au0828/au0828-core.c --- a/linux/drivers/media/video/au0828/au0828-core.c Sun Mar 29 16:53:48 2009 +0200 +++ b/linux/drivers/media/video/au0828/au0828-core.c Sun Mar 29 16:53:48 2009 +0200 @@ -201,7 +201,7 @@ 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__); -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html