diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-07-20 05:31:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-23 15:42:49 -0400 |
commit | 5e85e732f0ed56aa97a3ba26ac2b93ffe597a208 (patch) | |
tree | 899da0a99112d5e1b66d49d8561680f716798541 /drivers/media/video/pwc | |
parent | 27a5e6d3fcce73ceeee8f3bdc9a30c4564233800 (diff) |
V4L/DVB (8428): videodev: rename 'dev' to 'parent'
The field 'dev' is not the video device, but the parent of the video device.
Rename accordingly.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pwc')
-rw-r--r-- | drivers/media/video/pwc/pwc-if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index 423fa7c2d0c9..b4de82115e5b 100644 --- a/drivers/media/video/pwc/pwc-if.c +++ b/drivers/media/video/pwc/pwc-if.c | |||
@@ -1767,7 +1767,7 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
1767 | return -ENOMEM; | 1767 | return -ENOMEM; |
1768 | } | 1768 | } |
1769 | memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template)); | 1769 | memcpy(pdev->vdev, &pwc_template, sizeof(pwc_template)); |
1770 | pdev->vdev->dev = &(udev->dev); | 1770 | pdev->vdev->parent = &(udev->dev); |
1771 | strcpy(pdev->vdev->name, name); | 1771 | strcpy(pdev->vdev->name, name); |
1772 | pdev->vdev->owner = THIS_MODULE; | 1772 | pdev->vdev->owner = THIS_MODULE; |
1773 | video_set_drvdata(pdev->vdev, pdev); | 1773 | video_set_drvdata(pdev->vdev, pdev); |