Skip to content

Commit b81e4f1

Browse files
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> [tatsunosuke.tobita@wacom.com: Imported into input-wacom (c4c123504a65)] Signed-off-by: Tatsunosuke Tobita <tatsunosuke.tobita@wacom.com> Link: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/log/?h=for-6.14/wacom-pci
1 parent 871f617 commit b81e4f1

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)