Commit 8175fe2d authored by Andreas Schwab's avatar Andreas Schwab Committed by Jiri Kosina

HID: fix hid_device_id for cross compiling

struct hid_device_id contains hidden padding which is bad for cross
compiling.  Make the padding explicit and consistent across
architectures.
Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b170060c
...@@ -135,6 +135,7 @@ struct usb_device_id { ...@@ -135,6 +135,7 @@ struct usb_device_id {
struct hid_device_id { struct hid_device_id {
__u16 bus; __u16 bus;
__u16 pad1;
__u32 vendor; __u32 vendor;
__u32 product; __u32 product;
kernel_ulong_t driver_data kernel_ulong_t driver_data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment