diff options
Diffstat (limited to 'drivers/usb/gadget/zero.c')
-rw-r--r-- | drivers/usb/gadget/zero.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c index 361d9659ac48..20614dce8db9 100644 --- a/drivers/usb/gadget/zero.c +++ b/drivers/usb/gadget/zero.c | |||
@@ -113,11 +113,11 @@ static struct usb_device_descriptor device_desc = { | |||
113 | .bLength = sizeof device_desc, | 113 | .bLength = sizeof device_desc, |
114 | .bDescriptorType = USB_DT_DEVICE, | 114 | .bDescriptorType = USB_DT_DEVICE, |
115 | 115 | ||
116 | .bcdUSB = __constant_cpu_to_le16(0x0200), | 116 | .bcdUSB = cpu_to_le16(0x0200), |
117 | .bDeviceClass = USB_CLASS_VENDOR_SPEC, | 117 | .bDeviceClass = USB_CLASS_VENDOR_SPEC, |
118 | 118 | ||
119 | .idVendor = __constant_cpu_to_le16(DRIVER_VENDOR_NUM), | 119 | .idVendor = cpu_to_le16(DRIVER_VENDOR_NUM), |
120 | .idProduct = __constant_cpu_to_le16(DRIVER_PRODUCT_NUM), | 120 | .idProduct = cpu_to_le16(DRIVER_PRODUCT_NUM), |
121 | .bNumConfigurations = 2, | 121 | .bNumConfigurations = 2, |
122 | }; | 122 | }; |
123 | 123 | ||
@@ -265,7 +265,7 @@ static int __init zero_bind(struct usb_composite_dev *cdev) | |||
265 | */ | 265 | */ |
266 | pr_warning("%s: controller '%s' not recognized\n", | 266 | pr_warning("%s: controller '%s' not recognized\n", |
267 | longname, gadget->name); | 267 | longname, gadget->name); |
268 | device_desc.bcdDevice = __constant_cpu_to_le16(0x9999); | 268 | device_desc.bcdDevice = cpu_to_le16(0x9999); |
269 | } | 269 | } |
270 | 270 | ||
271 | 271 | ||