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>
This commit is contained in:
parent
daedb3d6a9
commit
2b639386a2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue