aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-10-25 18:30:18 -0400
committerJiri Kosina <jkosina@suse.cz>2008-10-28 19:51:25 -0400
commit8175fe2dda1c93a9c596921c8ed4a0b4baccdefe (patch)
tree7bfb61705f5ae68fd5e4fa43621f6dfbf34b1f35 /include
parentb170060c6ccd719eebb53b10c98df2a4e6968f28 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mod_devicetable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index eb71b45fdf5a..97b91d1abb43 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -135,6 +135,7 @@ struct usb_device_id {
135 135
136struct hid_device_id { 136struct hid_device_id {
137 __u16 bus; 137 __u16 bus;
138 __u16 pad1;
138 __u32 vendor; 139 __u32 vendor;
139 __u32 product; 140 __u32 product;
140 kernel_ulong_t driver_data 141 kernel_ulong_t driver_data