V4L/DVB (6807): fix debug enable
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 13 Dec 2007 09:36:22 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:33 +0000 (19:03 -0200)
The changes at vivi_template make debug option to not work properly.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c

index 0b5c1426bb90194c7f99f381b3ca6500a3a5849b..889e6611e0398c2f40bd0baae7e8d1392c03cea3 100644 (file)
@@ -1250,7 +1250,7 @@ MODULE_PARM_DESC(video_nr, "video iminor start number");
 module_param(n_devs, int, 0);
 MODULE_PARM_DESC(n_devs, "number of video devices to create");
 
-module_param_named(debug, vivi.debug, int, 0644);
+module_param_named(debug, vivi_template.debug, int, 0444);
 MODULE_PARM_DESC(debug, "activates debug info");
 
 module_param(vid_limit, int, 0644);