# HG changeset patch # User Janne Grunau <j@xxxxxxxxxx> # Date 1238338428 -7200 # Node ID eb7601494dc5e58ed519dde38c763fee20cbd0a9 # Parent 36b738f9cb1916e9885084f32bb29373f70f0720 cx231xx: use usb_interface.dev for v4l2_device_register Priority: normal Signed-off-by: Janne Grunau <j@xxxxxxxxxx> diff -r 36b738f9cb19 -r eb7601494dc5 linux/drivers/media/video/cx231xx/cx231xx-cards.c --- a/linux/drivers/media/video/cx231xx/cx231xx-cards.c Sun Mar 29 16:53:48 2009 +0200 +++ b/linux/drivers/media/video/cx231xx/cx231xx-cards.c Sun Mar 29 16:53:48 2009 +0200 @@ -685,7 +685,7 @@ /* Create v4l2 device */ snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s-%03d", "cx231xx", nr); - retval = v4l2_device_register(&udev->dev, &dev->v4l2_dev); + retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); if (retval) { cx231xx_errdev("v4l2_device_register failed\n"); cx231xx_devused &= ~(1 << nr); -- 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