mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-30 02:21:15 +00:00
modpost: add support for hid
Generate aliases for hid device modules to support autoloading. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
7591103c08
commit
e8c84f9a5f
3 changed files with 29 additions and 0 deletions
|
@ -131,6 +131,16 @@ struct usb_device_id {
|
|||
#define USB_DEVICE_ID_MATCH_INT_SUBCLASS 0x0100
|
||||
#define USB_DEVICE_ID_MATCH_INT_PROTOCOL 0x0200
|
||||
|
||||
#define HID_ANY_ID (~0)
|
||||
|
||||
struct hid_device_id {
|
||||
__u16 bus;
|
||||
__u32 vendor;
|
||||
__u32 product;
|
||||
kernel_ulong_t driver_data
|
||||
__attribute__((aligned(sizeof(kernel_ulong_t))));
|
||||
};
|
||||
|
||||
/* s390 CCW devices */
|
||||
struct ccw_device_id {
|
||||
__u16 match_flags; /* which fields to match against */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue