summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 13:49:16 +0200
committerJanne Grunau <j@jannau.net>2009-04-01 13:49:16 +0200
commit81fd2420e39ed720ba99ea0278b6daac6d65d200 (patch)
tree7df7dde4a5e6e7249421a9cbb654a860aa6d0507 /linux/drivers
parent5ec5e0418fa9bc68e66e2043e72aba023cc828f4 (diff)
downloadmediapointer-dvb-s2-81fd2420e39ed720ba99ea0278b6daac6d65d200.tar.gz
mediapointer-dvb-s2-81fd2420e39ed720ba99ea0278b6daac6d65d200.tar.bz2
w9968cf: use usb_interface.dev for v4l2_device_register
From: Janne Grunau <j@jannau.net> Priority: normal Signed-off-by: Janne Grunau <j@jannau.net>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/w9968cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/w9968cf.c b/linux/drivers/media/video/w9968cf.c
index cf8548a7f..63658bfd2 100644
--- a/linux/drivers/media/video/w9968cf.c
+++ b/linux/drivers/media/video/w9968cf.c
@@ -3454,7 +3454,7 @@ w9968cf_usb_probe(struct usb_interface* intf, const struct usb_device_id* id)
if (!cam)
return -ENOMEM;
- err = v4l2_device_register(&udev->dev, &cam->v4l2_dev);
+ err = v4l2_device_register(&intf->dev, &cam->v4l2_dev);
if (err)
goto fail0;