diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-15 10:53:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-15 10:53:32 +0100 |
commit | 2c783d535370caf906c325483998a842b5e0920a (patch) | |
tree | f281d5729804606121aa5b300f0c7834bd7fb5b9 /linux/drivers/media/video/saa7134/saa7134-core.c | |
parent | 4903a08eff7b34a3ed5aff511ffcf25ee198c883 (diff) | |
download | mediapointer-dvb-s2-2c783d535370caf906c325483998a842b5e0920a.tar.gz mediapointer-dvb-s2-2c783d535370caf906c325483998a842b5e0920a.tar.bz2 |
saa7134: set v4l2_dev field of video_device
From: Hans Verkuil <hverkuil@xs4all.nl>
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.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c index d499064ee..b99b1ed1c 100644 --- a/linux/drivers/media/video/saa7134/saa7134-core.c +++ b/linux/drivers/media/video/saa7134/saa7134-core.c @@ -837,7 +837,7 @@ static struct video_device *vdev_init(struct saa7134_dev *dev, return NULL; *vfd = *template; vfd->minor = -1; - vfd->parent = &dev->pci->dev; + vfd->v4l2_dev = &dev->v4l2_dev; vfd->release = video_device_release; vfd->debug = video_debug; snprintf(vfd->name, sizeof(vfd->name), "%s %s (%s)", |