mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 12:11:59 +00:00
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>
This commit is contained in:
parent
e8b934de12
commit
dc5e42fb20
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user