Commit c03efdb2 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] fallout from hcd-core patch

missing le16_to_cpu()
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 956295d5
...@@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf) ...@@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_configure(struct usb_interface *intf)
int n, len, insize = 0; int n, len, insize = 0;
/* Ignore all Wacom devices */ /* Ignore all Wacom devices */
if (dev->descriptor.idVendor == USB_VENDOR_ID_WACOM) if (le16_to_cpu(dev->descriptor.idVendor) == USB_VENDOR_ID_WACOM)
return NULL; return NULL;
for (n = 0; hid_blacklist[n].idVendor; n++) for (n = 0; hid_blacklist[n].idVendor; n++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment