[media] coda: set umask 0644 on debug module param
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 21 May 2013 07:24:16 +0000 (04:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 27 May 2013 12:32:42 +0000 (09:32 -0300)
Otherwise module/coda/parameters/coda_debug won't show up in sysfs.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/coda.c

index 2d8e50e1c9b8f6fe6c4fadcedd49070fa0315688..b1f77d3c85941c80de5668aebef03b795376f73b 100644 (file)
@@ -67,7 +67,7 @@
 #define fh_to_ctx(__fh)        container_of(__fh, struct coda_ctx, fh)
 
 static int coda_debug;
-module_param(coda_debug, int, 0);
+module_param(coda_debug, int, 0644);
 MODULE_PARM_DESC(coda_debug, "Debug level (0-1)");
 
 enum {