aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/elantech.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-09-08 14:44:05 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-09-08 14:58:12 -0700
commit01d4cd5c44ad471b75de4b0a235765881f6cde45 (patch)
tree9f6a9e97a7743d6265f849f3cbd6a7f01aa668ca /drivers/input/mouse/elantech.c
parentInput: add INPUT_PROP_POINTING_STICK property (diff)
downloadlinux-dev-01d4cd5c44ad471b75de4b0a235765881f6cde45.tar.xz
linux-dev-01d4cd5c44ad471b75de4b0a235765881f6cde45.zip
Input: add missing POINTER / DIRECT properties to a bunch of drivers
I've not done a full audit of all mouse drivers, I noticed these ones were missing the POINTER property while working on the POINTING_STICK property. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/elantech.c')
-rw-r--r--drivers/input/mouse/elantech.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 0cbf6281899c..06fc6e76ffbe 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1615,6 +1615,7 @@ int elantech_init(struct psmouse *psmouse)
BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) |
BIT_MASK(BTN_RIGHT);
+ __set_bit(INPUT_PROP_POINTER, tp_dev->propbit);
__set_bit(INPUT_PROP_POINTING_STICK, tp_dev->propbit);
error = input_register_device(etd->tp_dev);