aboutsummaryrefslogtreecommitdiff
path: root/drivers/macintosh/ams/ams-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/ams/ams-input.c')
-rw-r--r--drivers/macintosh/ams/ams-input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/ams/ams-input.c b/drivers/macintosh/ams/ams-input.c
index 8a712392cd3..b27e530a87a 100644
--- a/drivers/macintosh/ams/ams-input.c
+++ b/drivers/macintosh/ams/ams-input.c
@@ -19,11 +19,11 @@
#include "ams.h"
-static unsigned int joystick;
+static bool joystick;
module_param(joystick, bool, S_IRUGO);
MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
-static unsigned int invert;
+static bool invert;
module_param(invert, bool, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");