diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-06-30 20:02:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 07:15:39 -0300 |
commit | dc5e42fb20229487ef11fd6fa0cdb7b7d42170f6 (patch) | |
tree | 08f392d2b05d9a0881552a6fbd24f4e3f3e740ea | |
parent | e8b934de12989d1704e7df7ebb408a6021f08442 (diff) | |
download | kernel_samsung_smdk4412-dc5e42fb20229487ef11fd6fa0cdb7b7d42170f6.zip kernel_samsung_smdk4412-dc5e42fb20229487ef11fd6fa0cdb7b7d42170f6.tar.gz kernel_samsung_smdk4412-dc5e42fb20229487ef11fd6fa0cdb7b7d42170f6.tar.bz2 |
V4L/DVB (8171): ivtv: put back full device name, people relied on it in udev rules.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/ivtv/ivtv-streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/ivtv/ivtv-streams.c b/drivers/media/video/ivtv/ivtv-streams.c index 8e3addd..f8883b4 100644 --- a/drivers/media/video/ivtv/ivtv-streams.c +++ b/drivers/media/video/ivtv/ivtv-streams.c @@ -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; |