diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-02-17 12:38:36 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-02-17 13:25:01 +0100 |
commit | 2b639386a2a26c84c8d26c649cf657ebd43a7bc8 (patch) | |
tree | a14e5c3486d810a146242c5637812e5b241a4a6a /scripts | |
parent | daedb3d6a91f9626ab4c921378ac52e44de833d5 (diff) | |
download | blackbird-obmc-linux-2b639386a2a26c84c8d26c649cf657ebd43a7bc8.tar.gz blackbird-obmc-linux-2b639386a2a26c84c8d26c649cf657ebd43a7bc8.zip |
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')
-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 491b8b1b6abf..4eea60b1693e 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); |