diff options
author | Jinchao Wang <wjc@cdjrlc.com> | 2021-06-26 13:15:38 +0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2021-07-16 08:42:35 +0300 |
commit | 24ebc044c72ee6e88dc902a0041bac672f012537 (patch) | |
tree | 6e292d9edf4178ee9477ae47fa846b63e116ac6c /drivers/auxdisplay/ks0108.c | |
parent | f885afe28d20b66341a8f55b10367312c1d6b686 (diff) | |
download | linux-24ebc044c72ee6e88dc902a0041bac672f012537.tar.xz |
auxdisplay: Replace symbolic permissions with octal permissions
Resolves the checkpatch warning.
Signed-off-by: Jinchao Wang <wjc@cdjrlc.com>
[edited wording]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'drivers/auxdisplay/ks0108.c')
-rw-r--r-- | drivers/auxdisplay/ks0108.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/auxdisplay/ks0108.c b/drivers/auxdisplay/ks0108.c index da9abfbb6d33..e871b94a1911 100644 --- a/drivers/auxdisplay/ks0108.c +++ b/drivers/auxdisplay/ks0108.c @@ -28,11 +28,11 @@ */ 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"); 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)"); /* |