Commit a33adacd authored by Meghana Madhyastha's avatar Meghana Madhyastha Committed by Greg Kroah-Hartman

Staging: speakup: Replace symbolic permission

Replace S_IRUGO by 0444 in module parameter declaration. 0444 is more
readable and matches the style used in other declarations nearby.

Problem found using checkpatch.
Signed-off-by: default avatarMeghana Madhyastha <meghana.madhyastha@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 322e7049
...@@ -136,7 +136,7 @@ static int synth_probe(struct spk_synth *synth) ...@@ -136,7 +136,7 @@ static int synth_probe(struct spk_synth *synth)
} }
module_param_named(ser, synth_acntsa.ser, int, 0444); module_param_named(ser, synth_acntsa.ser, int, 0444);
module_param_named(dev, synth_acntsa.dev_name, charp, S_IRUGO); module_param_named(dev, synth_acntsa.dev_name, charp, 0444);
module_param_named(start, synth_acntsa.startup, short, 0444); module_param_named(start, synth_acntsa.startup, short, 0444);
MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based)."); MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
......
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