Commit c605b679 authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: ati_remote - relax permissions sysfs module parameters

Allow changing debug and channel_mask parameters on the fly.
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent c6698697
...@@ -122,11 +122,11 @@ ...@@ -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;
......
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