aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 07:39:29 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:12 -0400
commit7231748af687819fa1699c80e64ed6b47a4a3ff0 (patch)
treec7b948209102abd3be46981188c7ed4fd6391d43 /drivers/media
parent5fb1b2567982cffce355e4b3139a3de4430be899 (diff)
V4L/DVB (11352): cx231xx: 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')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-cards.c b/drivers/media/video/cx231xx/cx231xx-cards.c
index d2f2091a58a5..1b30730b9fd8 100644
--- a/drivers/media/video/cx231xx/cx231xx-cards.c
+++ b/drivers/media/video/cx231xx/cx231xx-cards.c
@@ -674,7 +674,7 @@ static int cx231xx_usb_probe(struct usb_interface *interface,
674 /* Create v4l2 device */ 674 /* Create v4l2 device */
675 snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), 675 snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name),
676 "%s-%03d", "cx231xx", nr); 676 "%s-%03d", "cx231xx", nr);
677 retval = v4l2_device_register(&udev->dev, &dev->v4l2_dev); 677 retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev);
678 if (retval) { 678 if (retval) {
679 cx231xx_errdev("v4l2_device_register failed\n"); 679 cx231xx_errdev("v4l2_device_register failed\n");
680 cx231xx_devused &= ~(1 << nr); 680 cx231xx_devused &= ~(1 << nr);