public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fallout from hcd-core patch
@ 2006-09-23  0:29 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-09-23  0:29 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, Linus Torvalds

missing le16_to_cpu()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 drivers/usb/input/hid-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index a2c56b2..3305fb6 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_config
 	int n, len, insize = 0;
 
         /* 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;
 
 	for (n = 0; hid_blacklist[n].idVendor; n++)
-- 
1.4.2.GIT

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-23  0:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-23  0:29 [PATCH] fallout from hcd-core patch Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox