]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8110): bttv: allow debug ioctl's
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 23 Jun 2008 15:31:29 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:12:09 +0000 (07:12 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c

index c4aa802494ff4c54e74c10e2c7d7e4662966cc64..06c40c91a6f7415974b4dcdca19369ddd9c0bbc3 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);