Commit 1d0a4362 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (8110): bttv: allow debug ioctl's

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent f24648e4
...@@ -4188,6 +4188,7 @@ static struct video_device *vdev_init(struct bttv *btv, ...@@ -4188,6 +4188,7 @@ static struct video_device *vdev_init(struct bttv *btv,
vfd->dev = &btv->c.pci->dev; vfd->dev = &btv->c.pci->dev;
vfd->release = video_device_release; vfd->release = video_device_release;
vfd->type = type; vfd->type = type;
vfd->debug = bttv_debug;
snprintf(vfd->name, sizeof(vfd->name), "BT%d%s %s (%s)", snprintf(vfd->name, sizeof(vfd->name), "BT%d%s %s (%s)",
btv->id, (btv->id==848 && btv->revision==0x12) ? "A" : "", btv->id, (btv->id==848 && btv->revision==0x12) ? "A" : "",
type_name, bttv_tvcards[btv->c.type].name); type_name, bttv_tvcards[btv->c.type].name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment