[media] tvp5150: Make debug module parameter visible in sysfs
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 27 Feb 2014 16:44:48 +0000 (13:44 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 12:27:49 +0000 (09:27 -0300)
Set permissions on the debug module parameter to make it appear in sysfs.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/tvp5150.c

index 8ac52fcf3f85ad60258a308bdec5972278b454dc..4fd3688e1164e77ee69f8342d0c0125a1b0d01cd 100644 (file)
@@ -29,7 +29,7 @@ MODULE_LICENSE("GPL");
 
 
 static int debug;
-module_param(debug, int, 0);
+module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "Debug level (0-2)");
 
 struct tvp5150 {