projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b170060
)
HID: fix hid_device_id for cross compiling
author
Andreas Schwab
<schwab@suse.de>
Sat, 25 Oct 2008 22:30:18 +0000
(
00:30
+0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 28 Oct 2008 23:51:25 +0000
(
00:51
+0100)
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>
include/linux/mod_devicetable.h
patch
|
blob
|
history
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index
eb71b45
..
97b91d1
100644
(file)
--- 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