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/ov511.c | |
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/ov511.c')
-rw-r--r-- | drivers/media/video/ov511.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c index eafb0c7736e6..b72e5660bc19 100644 --- a/drivers/media/video/ov511.c +++ b/drivers/media/video/ov511.c | |||
@@ -5833,7 +5833,7 @@ ov51x_probe(struct usb_interface *intf, const struct usb_device_id *id) | |||
5833 | goto error; | 5833 | goto error; |
5834 | 5834 | ||
5835 | memcpy(ov->vdev, &vdev_template, sizeof(*ov->vdev)); | 5835 | memcpy(ov->vdev, &vdev_template, sizeof(*ov->vdev)); |
5836 | ov->vdev->dev = &intf->dev; | 5836 | ov->vdev->parent = &intf->dev; |
5837 | video_set_drvdata(ov->vdev, ov); | 5837 | video_set_drvdata(ov->vdev, ov); |
5838 | 5838 | ||
5839 | for (i = 0; i < OV511_MAX_UNIT_VIDEO; i++) { | 5839 | for (i = 0; i < OV511_MAX_UNIT_VIDEO; i++) { |