module_param: make bool parameters really bool (drivers & misc)
[deliverable/linux.git] / drivers / macintosh / ams / ams-input.c
index 8a712392cd3829a32dd471f50a557aaa8e774cc3..b27e530a87a4dc6f17046de52c22011efbf7da36 100644 (file)
 
 #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");
 
This page took 0.023805 seconds and 5 git commands to generate.