V4L/DVB (8110): bttv: allow debug ioctl's
Mauro Carvalho Chehab [Mon, 23 Jun 2008 15:31:29 +0000 (12:31 -0300)]
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

drivers/media/video/bt8xx/bttv-driver.c

index c4aa802..06c40c9 100644 (file)
@@ -4188,6 +4188,7 @@ static struct video_device *vdev_init(struct bttv *btv,
        vfd->dev     = &btv->c.pci->dev;
        vfd->release = video_device_release;
        vfd->type    = type;
+       vfd->debug   = bttv_debug;
        snprintf(vfd->name, sizeof(vfd->name), "BT%d%s %s (%s)",
                 btv->id, (btv->id==848 && btv->revision==0x12) ? "A" : "",
                 type_name, bttv_tvcards[btv->c.type].name);