]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8171): ivtv: put back full device name, people relied on it in udev rules.
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 30 Jun 2008 23:02:47 +0000 (20:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:15:39 +0000 (07:15 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-streams.c

index 8e3addd45090a34b7cac2219c2a0032a3e6922c4..f8883b487f4a9dbbee6cda1d1edd0c0fb64fd2c6 100644 (file)
@@ -213,8 +213,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;