Skip to content

Commit ca777c2

Browse files
authored
Merge pull request #453 from flying-elephant/addition_for_intel-thc
Import wacom_wac upstream patch (HID: Wacom: Add PCI Wacom device support)
2 parents 871f617 + b81e4f1 commit ca777c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

4.18/wacom_wac.c

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

4974+
#define PCI_DEVICE_WACOM(prod) \
4975+
HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
4976+
.driver_data = (kernel_ulong_t)&wacom_features_##prod
4977+
49744978
#define USB_DEVICE_LENOVO(prod) \
49754979
HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
49764980
.driver_data = (kernel_ulong_t)&wacom_features_##prod
@@ -5140,6 +5144,7 @@ const struct hid_device_id wacom_ids[] = {
51405144

51415145
{ USB_DEVICE_WACOM(HID_ANY_ID) },
51425146
{ I2C_DEVICE_WACOM(HID_ANY_ID) },
5147+
{ PCI_DEVICE_WACOM(HID_ANY_ID) },
51435148
{ BT_DEVICE_WACOM(HID_ANY_ID) },
51445149
{ }
51455150
};

0 commit comments

Comments
 (0)