xref: /linux/include/linux/device-id/hid.h (revision d2c9a99135da931377240942d44f3dea104cedb8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_HID_H
3 #define LINUX_DEVICE_ID_HID_H
4 
5 #ifdef __KERNEL__
6 #include <linux/types.h>
7 typedef unsigned long kernel_ulong_t;
8 #endif
9 
10 #define HID_ANY_ID				(~0)
11 #define HID_BUS_ANY				0xffff
12 #define HID_GROUP_ANY				0x0000
13 
14 struct hid_device_id {
15 	__u16 bus;
16 	__u16 group;
17 	__u32 vendor;
18 	__u32 product;
19 	kernel_ulong_t driver_data;
20 };
21 
22 #endif /* ifndef LINUX_DEVICE_ID_HID_H */
23