summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2009-04-01 13:46:50 +0200
committerJanne Grunau <j@jannau.net>2009-04-01 13:46:50 +0200
commit88626c2344574c18dfd599888714f60dbf91c865 (patch)
tree4cebc4bd05319172b6d574f4a25d6f86fc41f24f
parente39683bbff5c82187cc7d0894f859d875b1b62de (diff)
downloadmediapointer-dvb-s2-88626c2344574c18dfd599888714f60dbf91c865.tar.gz
mediapointer-dvb-s2-88626c2344574c18dfd599888714f60dbf91c865.tar.bz2
pvrusb2: 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: Mike Isely <isely@pobox.com>
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index def29ddb3..c1fd23e1f 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2591,7 +2591,7 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf,
hdw->ctl_read_urb = usb_alloc_urb(0,GFP_KERNEL);
if (!hdw->ctl_read_urb) goto fail;
- if (v4l2_device_register(&usb_dev->dev, &hdw->v4l2_dev) != 0) {
+ if (v4l2_device_register(&intf->dev, &hdw->v4l2_dev) != 0) {
pvr2_trace(PVR2_TRACE_ERROR_LEGS,
"Error registering with v4l core, giving up");
goto fail;