summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-streams.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-22 13:57:31 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-06-22 13:57:31 +0200
commit92283451cab7a6739b867c55024aa6c38e0342dc (patch)
tree015252c8a35fd028b1dd7ec6d6ba5836dc65ff9b /linux/drivers/media/video/cx18/cx18-streams.c
parentb37f653a50cd90598a56f6c60c839ef62f5e8545 (diff)
downloadmediapointer-dvb-s2-92283451cab7a6739b867c55024aa6c38e0342dc.tar.gz
mediapointer-dvb-s2-92283451cab7a6739b867c55024aa6c38e0342dc.tar.bz2
cx18/ivtv: ioctl debugging improvements
From: Hans Verkuil <hverkuil@xs4all.nl> Completely rely on the video_ioctl2 debugging facilities rather than doing it ourselves. Fill in some missing fields in ivtv with VIDIOC_G_FBUF. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-streams.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-streams.c b/linux/drivers/media/video/cx18/cx18-streams.c
index 177cd7c3a..deacdb836 100644
--- a/linux/drivers/media/video/cx18/cx18-streams.c
+++ b/linux/drivers/media/video/cx18/cx18-streams.c
@@ -192,8 +192,8 @@ static int cx18_prep_dev(struct cx18 *cx, int type)
s->v4l2dev->type =
VID_TYPE_CAPTURE | VID_TYPE_TUNER | VID_TYPE_TELETEXT |
VID_TYPE_CLIPPING | VID_TYPE_SCALES | VID_TYPE_MPEG_ENCODER;
- snprintf(s->v4l2dev->name, sizeof(s->v4l2dev->name), "cx18%d %s",
- cx->num, s->name);
+ snprintf(s->v4l2dev->name, sizeof(s->v4l2dev->name), "cx18-%d",
+ cx->num);
s->v4l2dev->minor = minor;
s->v4l2dev->dev = &cx->dev->dev;