Skip to content

Commit 24ebc04

Browse files
Jinchao Wangojeda
authored andcommitted
auxdisplay: Replace symbolic permissions with octal permissions
Resolves the checkpatch warning. Signed-off-by: Jinchao Wang <[email protected]> [edited wording] Signed-off-by: Miguel Ojeda <[email protected]>
1 parent f885afe commit 24ebc04

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/auxdisplay/cfag12864b.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*/
3434

3535
static unsigned int cfag12864b_rate = CONFIG_CFAG12864B_RATE;
36-
module_param(cfag12864b_rate, uint, S_IRUGO);
36+
module_param(cfag12864b_rate, uint, 0444);
3737
MODULE_PARM_DESC(cfag12864b_rate,
3838
"Refresh rate (hertz)");
3939

drivers/auxdisplay/ks0108.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
*/
2929

3030
static unsigned int ks0108_port = CONFIG_KS0108_PORT;
31-
module_param(ks0108_port, uint, S_IRUGO);
31+
module_param(ks0108_port, uint, 0444);
3232
MODULE_PARM_DESC(ks0108_port, "Parallel port where the LCD is connected");
3333

3434
static unsigned int ks0108_delay = CONFIG_KS0108_DELAY;
35-
module_param(ks0108_delay, uint, S_IRUGO);
35+
module_param(ks0108_delay, uint, 0444);
3636
MODULE_PARM_DESC(ks0108_delay, "Delay between each control writing (microseconds)");
3737

3838
/*

0 commit comments

Comments
 (0)