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: Andreas Schwab <schwab@suse.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Andreas Schwab 2008-10-26 00:30:18 +02:00 committed by Jiri Kosina
parent b170060c6c
commit 8175fe2dda

View File

@ -135,6 +135,7 @@ struct usb_device_id {
struct hid_device_id {
__u16 bus;
__u16 pad1;
__u32 vendor;
__u32 product;
kernel_ulong_t driver_data