diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2011-11-19 12:27:37 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 04:45:11 -0500 |
commit | d327ab5b6d660d6fe22b073b743fde1668e593bb (patch) | |
tree | f32166a8a1bf562f6e235a2ce1b6ec0a6fead6ae /drivers/usb/musb | |
parent | 7aac8d1537b1fd1a9e39bd16edcd6728c19f8dd5 (diff) |
usb: gadget: replace usb_gadget::is_dualspeed with max_speed
This commit replaces usb_gadget's is_dualspeed field with
a max_speed field.
[ balbi@ti.com : Fixed DWC3 driver ]
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 922148ff8d29..47a3d1e5b28b 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -1844,7 +1844,7 @@ int __init musb_gadget_setup(struct musb *musb) | |||
1844 | */ | 1844 | */ |
1845 | 1845 | ||
1846 | musb->g.ops = &musb_gadget_operations; | 1846 | musb->g.ops = &musb_gadget_operations; |
1847 | musb->g.is_dualspeed = 1; | 1847 | musb->g.max_speed = USB_SPEED_HIGH; |
1848 | musb->g.speed = USB_SPEED_UNKNOWN; | 1848 | musb->g.speed = USB_SPEED_UNKNOWN; |
1849 | 1849 | ||
1850 | /* this "gadget" abstracts/virtualizes the controller */ | 1850 | /* this "gadget" abstracts/virtualizes the controller */ |