projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/include/linux/mod_devicetable.h
b/include/linux/mod_devicetable.h
index eb71b45fdf5af411b42aad9b89ae808c1b19d8e8..97b91d1abb433e39ced31566b7d160d46719b66e 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