projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb1b25
)
V4L/DVB (11352): cx231xx: use usb_interface.dev for v4l2_device_register
author
Janne Grunau
<j@jannau.net>
Wed, 1 Apr 2009 11:39:29 +0000
(08:39 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:12 +0000
(21:44 -0300)
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx231xx/cx231xx-cards.c
b/drivers/media/video/cx231xx/cx231xx-cards.c
index
d2f2091
..
1b30730
100644
(file)
--- 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,
/* 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);