summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 09:36:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 09:36:07 -0300
commit7abbab1a9801ad11729cc746653a909972548502 (patch)
tree232a3bbdbf4c48b602848b9b0031b79e734fc599 /linux/drivers/media/video/pwc/pwc-if.c
parentec810366b1dc73c6e1e9251b2bf21135e42d9fc7 (diff)
parent619f91291de90dbff3aaafdf29a3886757eda34f (diff)
downloadmediapointer-dvb-s2-7abbab1a9801ad11729cc746653a909972548502.tar.gz
mediapointer-dvb-s2-7abbab1a9801ad11729cc746653a909972548502.tar.bz2
merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-videodev2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pwc/pwc-if.c')
-rw-r--r--linux/drivers/media/video/pwc/pwc-if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c
index c28490ae5..e51ee878b 100644
--- a/linux/drivers/media/video/pwc/pwc-if.c
+++ b/linux/drivers/media/video/pwc/pwc-if.c
@@ -1771,7 +1771,7 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
return -ENOMEM;
}
memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template));
- pdev->vdev->dev = &(udev->dev);
+ pdev->vdev->parent = &(udev->dev);
strcpy(pdev->vdev->name, name);
pdev->vdev->owner = THIS_MODULE;
video_set_drvdata(pdev->vdev, pdev);