- patches.fixes/patch-2.6.11-rc1: 2.6.11-rc1.
[linux-flexiantxendom0-3.2.10.git] / drivers / usb / input / wacom.c
index 471d1bf..f2f3439 100644 (file)
@@ -692,9 +692,9 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i
        wacom->dev.name = wacom->features->name;
        wacom->dev.phys = wacom->phys;
        wacom->dev.id.bustype = BUS_USB;
-       wacom->dev.id.vendor = dev->descriptor.idVendor;
-       wacom->dev.id.product = dev->descriptor.idProduct;
-       wacom->dev.id.version = dev->descriptor.bcdDevice;
+       wacom->dev.id.vendor = le16_to_cpu(dev->descriptor.idVendor);
+       wacom->dev.id.product = le16_to_cpu(dev->descriptor.idProduct);
+       wacom->dev.id.version = le16_to_cpu(dev->descriptor.bcdDevice);
        wacom->dev.dev = &intf->dev;
        wacom->usbdev = dev;