summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-20 11:31:39 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-20 11:31:39 +0200
commitbcc38c16d5b89d3e0303fd38b255fe1d753802fc (patch)
tree4927627c6afc6b25e5d337455be7c085b776c5ae /linux/drivers/media/video/usbvision/usbvision-video.c
parent14bb5adb5fe97f906d8647dd565965d71c433e81 (diff)
downloadmediapointer-dvb-s2-bcc38c16d5b89d3e0303fd38b255fe1d753802fc.tar.gz
mediapointer-dvb-s2-bcc38c16d5b89d3e0303fd38b255fe1d753802fc.tar.bz2
videodev: rename 'dev' to 'parent'
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux/drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-video.c b/linux/drivers/media/video/usbvision/usbvision-video.c
index cd6c41d67..899906d95 100644
--- a/linux/drivers/media/video/usbvision/usbvision-video.c
+++ b/linux/drivers/media/video/usbvision/usbvision-video.c
@@ -1506,7 +1506,7 @@ static struct video_device *usbvision_vdev_init(struct usb_usbvision *usbvision,
}
*vdev = *vdev_template;
// vdev->minor = -1;
- vdev->dev = &usb_dev->dev;
+ vdev->parent = &usb_dev->dev;
snprintf(vdev->name, sizeof(vdev->name), "%s", name);
video_set_drvdata(vdev, usbvision);
return vdev;