Skip to content

Commit

Permalink
Merge pull request #453 from flying-elephant/addition_for_intel-thc
Browse files Browse the repository at this point in the history
Import wacom_wac upstream patch (HID: Wacom: Add PCI Wacom device support)
  • Loading branch information
Pinglinux authored Feb 5, 2025
2 parents 871f617 + b81e4f1 commit ca777c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 4.18/wacom_wac.c
Original file line number Diff line number Diff line change
Expand Up @@ -4971,6 +4971,10 @@ static const struct wacom_features wacom_features_0x94 =
HID_DEVICE(BUS_I2C, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
.driver_data = (kernel_ulong_t)&wacom_features_##prod

#define PCI_DEVICE_WACOM(prod) \
HID_DEVICE(BUS_PCI, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
.driver_data = (kernel_ulong_t)&wacom_features_##prod

#define USB_DEVICE_LENOVO(prod) \
HID_USB_DEVICE(USB_VENDOR_ID_LENOVO, prod), \
.driver_data = (kernel_ulong_t)&wacom_features_##prod
Expand Down Expand Up @@ -5140,6 +5144,7 @@ const struct hid_device_id wacom_ids[] = {

{ USB_DEVICE_WACOM(HID_ANY_ID) },
{ I2C_DEVICE_WACOM(HID_ANY_ID) },
{ PCI_DEVICE_WACOM(HID_ANY_ID) },
{ BT_DEVICE_WACOM(HID_ANY_ID) },
{ }
};
Expand Down

0 comments on commit ca777c2

Please sign in to comment.