V4L/DVB (7557): em28xx: honour video_debug modprobe parameter
authorMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 13 Apr 2008 18:05:47 +0000 (15:05 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:08:48 +0000 (14:08 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c

index d3485f5..064728f 100644 (file)
@@ -2057,6 +2057,7 @@ static struct video_device *em28xx_vdev_init(struct em28xx *dev,
        vfd->dev = &dev->udev->dev;
        vfd->release = video_device_release;
        vfd->type = type;
+       vfd->debug = video_debug;
 
        snprintf(vfd->name, sizeof(vfd->name), "%s %s",
                 dev->name, type_name);