summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-12-23 11:35:45 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2008-12-23 11:35:45 +0100
commit43cea8a5c34e5756adad03ee6522853203b48433 (patch)
tree5778262313cdaa1938e25eb8c85a9e7224de9850 /linux/drivers/media/video/ivtv
parent85eea3e7c4e6c0b3196466d9b14a8965cc751003 (diff)
downloadmediapointer-dvb-s2-43cea8a5c34e5756adad03ee6522853203b48433.tar.gz
mediapointer-dvb-s2-43cea8a5c34e5756adad03ee6522853203b48433.tar.bz2
ivtv: set v4l2_dev instead of parent.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-streams.c b/linux/drivers/media/video/ivtv/ivtv-streams.c
index 76279ed30..f77d76470 100644
--- a/linux/drivers/media/video/ivtv/ivtv-streams.c
+++ b/linux/drivers/media/video/ivtv/ivtv-streams.c
@@ -209,7 +209,7 @@ static int ivtv_prep_dev(struct ivtv *itv, int type)
itv->device.name, s->name);
s->v4l2dev->num = num;
- s->v4l2dev->parent = &itv->dev->dev;
+ s->v4l2dev->v4l2_dev = &itv->device;
s->v4l2dev->fops = ivtv_stream_info[type].fops;
s->v4l2dev->release = video_device_release;
s->v4l2dev->tvnorms = V4L2_STD_ALL;