diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-02-17 11:38:36 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-02-17 12:25:01 (GMT) |
commit | 2b639386a2a26c84c8d26c649cf657ebd43a7bc8 (patch) | |
tree | a14e5c3486d810a146242c5637812e5b241a4a6a /scripts/mod/file2alias.c | |
parent | daedb3d6a91f9626ab4c921378ac52e44de833d5 (diff) | |
download | linux-fsl-qoriq-2b639386a2a26c84c8d26c649cf657ebd43a7bc8.tar.xz |
HID: fix bus endianity in file2alias
Fix endianness of bus member of hid_device_id in modpost.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Reported-by: Nye Liu <nyet@mrv.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/mod/file2alias.c')
-rw-r--r-- | scripts/mod/file2alias.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index 491b8b1..4eea60b 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -210,6 +210,7 @@ static void do_usb_table(void *symval, unsigned long size, static int do_hid_entry(const char *filename, struct hid_device_id *id, char *alias) { + id->bus = TO_NATIVE(id->bus); id->vendor = TO_NATIVE(id->vendor); id->product = TO_NATIVE(id->product); |