From: Andreas Schwab Date: Sat, 25 Oct 2008 22:30:18 +0000 (+0200) Subject: HID: fix hid_device_id for cross compiling X-Git-Tag: v2.6.28-rc3~44^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8175fe2dda1c93a9c596921c8ed4a0b4baccdefe;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jiri Kosina --- diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index eb71b45fdf5..97b91d1abb4 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -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