diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-05-21 03:24:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-27 08:32:42 -0400 |
commit | c4eb1bfcbd7c2591caecda531072efda9e727dfa (patch) | |
tree | 97d26f7f02e3be7526c75ae1b384961b74b42f2a /drivers/media/platform/coda.c | |
parent | 419869c86f9745157fd6398ba65c79fda5982c6f (diff) |
[media] coda: set umask 0644 on debug module param
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>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 2d8e50e1c9b8..b1f77d3c8594 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) | 67 | #define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh) |
68 | 68 | ||
69 | static int coda_debug; | 69 | static int coda_debug; |
70 | module_param(coda_debug, int, 0); | 70 | module_param(coda_debug, int, 0644); |
71 | MODULE_PARM_DESC(coda_debug, "Debug level (0-1)"); | 71 | MODULE_PARM_DESC(coda_debug, "Debug level (0-1)"); |
72 | 72 | ||
73 | enum { | 73 | enum { |