summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup/speakup_dectlk.c
diff options
context:
space:
mode:
authorMihaela Muraru <mihaela.muraru21@gmail.com>2017-09-24 11:49:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-28 11:25:26 +0200
commitb5a603dee866a6af1ff8cb8dabd71795c5e6cb42 (patch)
treeee37af4094d94e68dabf5bb7916863da0b221aaf /drivers/staging/speakup/speakup_dectlk.c
parent88202ecab73e62470f81f6dac0e258a2a23cf861 (diff)
staging: speakup: Use octal permissions '0444'
Fixed the following checkpatch warning: WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Mihaela Muraru <mihaela.muraru21@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_dectlk.c')
-rw-r--r--drivers/staging/speakup/speakup_dectlk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_dectlk.c b/drivers/staging/speakup/speakup_dectlk.c
index f06995480022..5d6a861c9b1e 100644
--- a/drivers/staging/speakup/speakup_dectlk.c
+++ b/drivers/staging/speakup/speakup_dectlk.c
@@ -299,7 +299,7 @@ static void synth_flush(struct spk_synth *synth)
}
module_param_named(ser, synth_dectlk.ser, int, 0444);
-module_param_named(dev, synth_dectlk.dev_name, charp, S_IRUGO);
+module_param_named(dev, synth_dectlk.dev_name, charp, 0444);
module_param_named(start, synth_dectlk.startup, short, 0444);
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");