aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-15 05:53:32 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:23 -0400
commitb8ced13462cdb0e407831683b8e2c989b13db3ac (patch)
tree3c76c42c030c28c14857471f03c2ca9ea6d2f14f /drivers/media/video
parent1efd5261ff0b615c482c734e3fb11a75f671d8da (diff)
V4L/DVB (11053): saa7134: set v4l2_dev field of video_device
The v4l2_dev field of video_device wasn't initialized. The parent field is derived from v4l2_dev, so that doesn't need to be set anymore. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index ac574452d01e..321f0d724485 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -776,7 +776,7 @@ static struct video_device *vdev_init(struct saa7134_dev *dev,
776 return NULL; 776 return NULL;
777 *vfd = *template; 777 *vfd = *template;
778 vfd->minor = -1; 778 vfd->minor = -1;
779 vfd->parent = &dev->pci->dev; 779 vfd->v4l2_dev = &dev->v4l2_dev;
780 vfd->release = video_device_release; 780 vfd->release = video_device_release;
781 vfd->debug = video_debug; 781 vfd->debug = video_debug;
782 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", 782 snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)",