summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 13:47:35 +0200
committerJanne Grunau <j@jannau.net>2009-04-01 13:47:35 +0200
commit0af132238ae56eccd482fc735f4e5cec7a8a3892 (patch)
tree74c22b0a963e7acfb150c80f79bd638706f93a82 /linux/drivers/media/video/au0828
parent88626c2344574c18dfd599888714f60dbf91c865 (diff)
downloadmediapointer-dvb-s2-0af132238ae56eccd482fc735f4e5cec7a8a3892.tar.gz
mediapointer-dvb-s2-0af132238ae56eccd482fc735f4e5cec7a8a3892.tar.bz2
au0828: use usb_interface.dev for v4l2_device_register
From: Janne Grunau <j@jannau.net> Priority: normal Signed-off-by: Janne Grunau <j@jannau.net> Acked-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/au0828')
-rw-r--r--linux/drivers/media/video/au0828/au0828-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/au0828/au0828-core.c b/linux/drivers/media/video/au0828/au0828-core.c
index ffe1bf019..bc913f8b6 100644
--- a/linux/drivers/media/video/au0828/au0828-core.c
+++ b/linux/drivers/media/video/au0828/au0828-core.c
@@ -201,7 +201,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
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__);