aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ams
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ams')
-rw-r--r--drivers/hwmon/ams/ams-input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/ams/ams-input.c b/drivers/hwmon/ams/ams-input.c
index 7b81e0c2c2d9..48dbf7d6a66d 100644
--- a/drivers/hwmon/ams/ams-input.c
+++ b/drivers/hwmon/ams/ams-input.c
@@ -20,11 +20,11 @@
20#include "ams.h" 20#include "ams.h"
21 21
22static unsigned int joystick; 22static unsigned int joystick;
23module_param(joystick, bool, 0644); 23module_param(joystick, bool, S_IRUGO);
24MODULE_PARM_DESC(joystick, "Enable the input class device on module load"); 24MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
25 25
26static unsigned int invert; 26static unsigned int invert;
27module_param(invert, bool, 0644); 27module_param(invert, bool, S_IWUSR | S_IRUGO);
28MODULE_PARM_DESC(invert, "Invert input data on X and Y axis"); 28MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");
29 29
30static void ams_idev_poll(struct input_polled_dev *dev) 30static void ams_idev_poll(struct input_polled_dev *dev)