From: Philipp Zabel Date: Tue, 21 May 2013 07:24:16 +0000 (-0300) Subject: upstream: [media] coda: set umask 0644 on debug module param X-Git-Tag: submit/tizen/20141121.110247~2295 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41dd2403f44f08f025647a2e0923e9d0b0a01d8f;p=platform%2Fkernel%2Flinux-3.10.git upstream: [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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 42a02d7..30cbfe0 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c @@ -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 {