summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/htcpen.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/htcpen.c')
-rw-r--r--drivers/input/touchscreen/htcpen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c
index 81e338623944..d13143b68b3e 100644
--- a/drivers/input/touchscreen/htcpen.c
+++ b/drivers/input/touchscreen/htcpen.c
@@ -40,10 +40,10 @@ MODULE_LICENSE("GPL");
#define X_AXIS_MAX 2040
#define Y_AXIS_MAX 2040
-static int invert_x;
+static bool invert_x;
module_param(invert_x, bool, 0644);
MODULE_PARM_DESC(invert_x, "If set, X axis is inverted");
-static int invert_y;
+static bool invert_y;
module_param(invert_y, bool, 0644);
MODULE_PARM_DESC(invert_y, "If set, Y axis is inverted");
OpenPOWER on IntegriCloud