summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-10-26 00:30:18 +0200
committerJiri Kosina <jkosina@suse.cz>2008-10-29 00:51:25 +0100
commit8175fe2dda1c93a9c596921c8ed4a0b4baccdefe (patch)
tree7bfb61705f5ae68fd5e4fa43621f6dfbf34b1f35 /include
parentb170060c6ccd719eebb53b10c98df2a4e6968f28 (diff)
downloadop-kernel-dev-8175fe2dda1c93a9c596921c8ed4a0b4baccdefe.zip
op-kernel-dev-8175fe2dda1c93a9c596921c8ed4a0b4baccdefe.tar.gz
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 eb71b45..97b91d1 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
OpenPOWER on IntegriCloud