Эх сурвалжийг харах

Input: ati_remote - relax permissions sysfs module parameters

Allow changing debug and channel_mask parameters on the fly.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 19 жил өмнө
parent
commit
c605b67914

+ 2 - 2
drivers/usb/input/ati_remote.c

@@ -122,11 +122,11 @@
 #define FILTER_TIME	60 /* msec */
 #define FILTER_TIME	60 /* msec */
 
 
 static unsigned long channel_mask;
 static unsigned long channel_mask;
-module_param(channel_mask, ulong, 0444);
+module_param(channel_mask, ulong, 0644);
 MODULE_PARM_DESC(channel_mask, "Bitmask of remote control channels to ignore");
 MODULE_PARM_DESC(channel_mask, "Bitmask of remote control channels to ignore");
 
 
 static int debug;
 static int debug;
-module_param(debug, int, 0444);
+module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, "Enable extra debug messages and information");
 MODULE_PARM_DESC(debug, "Enable extra debug messages and information");
 
 
 static int repeat_filter = FILTER_TIME;
 static int repeat_filter = FILTER_TIME;