aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/dummy_hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/dummy_hcd.c')
-rw-r--r--drivers/usb/gadget/dummy_hcd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index 66293105d136..42036192a03c 100644
--- a/drivers/usb/gadget/dummy_hcd.c
+++ b/drivers/usb/gadget/dummy_hcd.c
@@ -1555,8 +1555,7 @@ hub_descriptor (struct usb_hub_descriptor *desc)
1555 memset (desc, 0, sizeof *desc); 1555 memset (desc, 0, sizeof *desc);
1556 desc->bDescriptorType = 0x29; 1556 desc->bDescriptorType = 0x29;
1557 desc->bDescLength = 9; 1557 desc->bDescLength = 9;
1558 desc->wHubCharacteristics = (__force __u16) 1558 desc->wHubCharacteristics = cpu_to_le16(0x0001);
1559 (__constant_cpu_to_le16 (0x0001));
1560 desc->bNbrPorts = 1; 1559 desc->bNbrPorts = 1;
1561 desc->bitmap [0] = 0xff; 1560 desc->bitmap [0] = 0xff;
1562 desc->bitmap [1] = 0xff; 1561 desc->bitmap [1] = 0xff;