summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-06-30 22:02:47 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-06-30 22:02:47 +0200
commitda7fb3c8bd92c15d848047a4620d708d78263c40 (patch)
treeebaaed6f7e953b667e3f799eef77ceb83ea50f84 /linux/drivers/media
parent7c2a34949f56cc9bd1cf1a1295ee58041499730b (diff)
downloadmediapointer-dvb-s2-da7fb3c8bd92c15d848047a4620d708d78263c40.tar.gz
mediapointer-dvb-s2-da7fb3c8bd92c15d848047a4620d708d78263c40.tar.bz2
ivtv: put back full device name, people relied on it in udev rules.
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-streams.c b/linux/drivers/media/video/ivtv/ivtv-streams.c
index da84b9088..d2dd89519 100644
--- a/linux/drivers/media/video/ivtv/ivtv-streams.c
+++ b/linux/drivers/media/video/ivtv/ivtv-streams.c
@@ -217,8 +217,8 @@ static int ivtv_prep_dev(struct ivtv *itv, int type)
if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) {
s->v4l2dev->type |= VID_TYPE_MPEG_DECODER;
}
- snprintf(s->v4l2dev->name, sizeof(s->v4l2dev->name), "ivtv%d",
- itv->num);
+ snprintf(s->v4l2dev->name, sizeof(s->v4l2dev->name), "ivtv%d %s",
+ itv->num, s->name);
s->v4l2dev->minor = minor;
s->v4l2dev->dev = &itv->dev->dev;