Commit 24ebc044 authored by Jinchao Wang's avatar Jinchao Wang Committed by Miguel Ojeda

auxdisplay: Replace symbolic permissions with octal permissions

Resolves the checkpatch warning.
Signed-off-by: default avatarJinchao Wang <wjc@cdjrlc.com>
[edited wording]
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent f885afe2
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
*/ */
static unsigned int cfag12864b_rate = CONFIG_CFAG12864B_RATE; static unsigned int cfag12864b_rate = CONFIG_CFAG12864B_RATE;
module_param(cfag12864b_rate, uint, S_IRUGO); module_param(cfag12864b_rate, uint, 0444);
MODULE_PARM_DESC(cfag12864b_rate, MODULE_PARM_DESC(cfag12864b_rate,
"Refresh rate (hertz)"); "Refresh rate (hertz)");
......
...@@ -28,11 +28,11 @@ ...@@ -28,11 +28,11 @@
*/ */
static unsigned int ks0108_port = CONFIG_KS0108_PORT; static unsigned int ks0108_port = CONFIG_KS0108_PORT;
module_param(ks0108_port, uint, S_IRUGO); module_param(ks0108_port, uint, 0444);
MODULE_PARM_DESC(ks0108_port, "Parallel port where the LCD is connected"); MODULE_PARM_DESC(ks0108_port, "Parallel port where the LCD is connected");
static unsigned int ks0108_delay = CONFIG_KS0108_DELAY; static unsigned int ks0108_delay = CONFIG_KS0108_DELAY;
module_param(ks0108_delay, uint, S_IRUGO); module_param(ks0108_delay, uint, 0444);
MODULE_PARM_DESC(ks0108_delay, "Delay between each control writing (microseconds)"); MODULE_PARM_DESC(ks0108_delay, "Delay between each control writing (microseconds)");
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment