]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/speakup/speakup_txprt.c
Merge remote-tracking branches 'regulator/topic/helpers', 'regulator/topic/hi655x...
[karo-tx-linux.git] / drivers / staging / speakup / speakup_txprt.c
index b3d2cfd20ac8656cfba79e211663dc020488d558..aa2f338d15d8bcbbb94dc90bbcaae958367d5510 100644 (file)
@@ -39,28 +39,28 @@ static struct var_t vars[] = {
 /* These attributes will appear in /sys/accessibility/speakup/txprt. */
 
 static struct kobj_attribute caps_start_attribute =
-       __ATTR(caps_start, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(caps_start, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute caps_stop_attribute =
-       __ATTR(caps_stop, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(caps_stop, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute pitch_attribute =
-       __ATTR(pitch, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(pitch, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute rate_attribute =
-       __ATTR(rate, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(rate, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute tone_attribute =
-       __ATTR(tone, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(tone, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute vol_attribute =
-       __ATTR(vol, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(vol, 0644, spk_var_show, spk_var_store);
 
 static struct kobj_attribute delay_time_attribute =
-       __ATTR(delay_time, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(delay_time, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute direct_attribute =
-       __ATTR(direct, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(direct, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute full_time_attribute =
-       __ATTR(full_time, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(full_time, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute jiffy_delta_attribute =
-       __ATTR(jiffy_delta, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(jiffy_delta, 0644, spk_var_show, spk_var_store);
 static struct kobj_attribute trigger_time_attribute =
-       __ATTR(trigger_time, S_IWUSR | S_IRUGO, spk_var_show, spk_var_store);
+       __ATTR(trigger_time, 0644, spk_var_show, spk_var_store);
 
 /*
  * Create a group of attributes so that we can create and destroy them all
@@ -116,8 +116,8 @@ static struct spk_synth synth_txprt = {
        },
 };
 
-module_param_named(ser, synth_txprt.ser, int, S_IRUGO);
-module_param_named(start, synth_txprt.startup, short, S_IRUGO);
+module_param_named(ser, synth_txprt.ser, int, 0444);
+module_param_named(start, synth_txprt.startup, short, 0444);
 
 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
 MODULE_PARM_DESC(start, "Start the synthesizer once it is loaded.");