summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-wacom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-wacom.c')
-rw-r--r--drivers/hid/hid-wacom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c
index 519f56c787bb..17bb88f782b6 100644
--- a/drivers/hid/hid-wacom.c
+++ b/drivers/hid/hid-wacom.c
@@ -310,6 +310,8 @@ static int wacom_input_mapped(struct hid_device *hdev, struct hid_input *hi,
{
struct input_dev *input = hi->input;
+ __set_bit(INPUT_PROP_POINTER, input->propbit);
+
/* Basics */
input->evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS) | BIT(EV_REL);
@@ -408,7 +410,6 @@ static int wacom_probe(struct hid_device *hdev,
goto err_ac;
}
#endif
-
return 0;
#ifdef CONFIG_HID_WACOM_POWER_SUPPLY