Skip to content

Commit c4c1235

Browse files
EvenxfJiri Kosina
authored andcommitted
HID: Wacom: Add PCI Wacom device support
Add PCI device ID of wacom device into driver support list. Signed-off-by: Even Xu <even.xu@intel.com> Tested-by: Tatsunosuke Tobita <tatsunosuke.tobita@wacom.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
1 parent 5f420e8 commit c4c1235

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/hid/wacom_wac.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,10 @@ static const struct wacom_features wacom_features_0x94 =
49464946
HID_DEVICE(BUS_I2C, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
49474947
.driver_data = (kernel_ulong_t)&wacom_features_##prod
49484948

4949+
#define PCI_DEVICE_WACOM(prod) \
4950+
HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
4951+
.driver_data = (kernel_ulong_t)&wacom_features_##prod
4952+
49494953
#define USB_DEVICE_LENOVO(prod) \
49504954
HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
49514955
.driver_data = (kernel_ulong_t)&wacom_features_##prod
@@ -5115,6 +5119,7 @@ const struct hid_device_id wacom_ids[] = {
51155119

51165120
{ USB_DEVICE_WACOM(HID_ANY_ID) },
51175121
{ I2C_DEVICE_WACOM(HID_ANY_ID) },
5122+
{ PCI_DEVICE_WACOM(HID_ANY_ID) },
51185123
{ BT_DEVICE_WACOM(HID_ANY_ID) },
51195124
{ }
51205125
};

0 commit comments

Comments
 (0)