summaryrefslogtreecommitdiff
path: root/drivers/staging/fbtft/fb_watterott.c
diff options
context:
space:
mode:
authorAbdul Rauf <abdulraufmujahid@gmail.com>2017-01-24 00:20:10 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 11:33:21 +0100
commitced04842d282a81b71c5d875340cee0fe4aedd2c (patch)
treee3b82be024622f2a53ad7ddee97b047e7ce26b13 /drivers/staging/fbtft/fb_watterott.c
parentdec9fcd03284c227e2f27a52451e9e494f0f4679 (diff)
staging: fbtft: fix checkpatch decimal permissions error
Fix the following errors: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Abdul Rauf <abdulraufmujahid@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fbtft/fb_watterott.c')
-rw-r--r--drivers/staging/fbtft/fb_watterott.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fbtft/fb_watterott.c b/drivers/staging/fbtft/fb_watterott.c
index a52e28a48825..429304546b44 100644
--- a/drivers/staging/fbtft/fb_watterott.c
+++ b/drivers/staging/fbtft/fb_watterott.c
@@ -40,7 +40,7 @@
#define COLOR_RGB565 16
static short mode = 565;
-module_param(mode, short, 0);
+module_param(mode, short, 0000);
MODULE_PARM_DESC(mode, "RGB color transfer mode: 332, 565 (default)");
static void write_reg8_bus8(struct fbtft_par *par, int len, ...)