diff options
Diffstat (limited to 'drivers/usb/gadget/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index 6ccae2707e59..93612519b53a 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -1766,9 +1766,9 @@ gadgetfs_suspend (struct usb_gadget *gadget) | |||
1766 | 1766 | ||
1767 | static struct usb_gadget_driver gadgetfs_driver = { | 1767 | static struct usb_gadget_driver gadgetfs_driver = { |
1768 | #ifdef CONFIG_USB_GADGET_DUALSPEED | 1768 | #ifdef CONFIG_USB_GADGET_DUALSPEED |
1769 | .speed = USB_SPEED_HIGH, | 1769 | .max_speed = USB_SPEED_HIGH, |
1770 | #else | 1770 | #else |
1771 | .speed = USB_SPEED_FULL, | 1771 | .max_speed = USB_SPEED_FULL, |
1772 | #endif | 1772 | #endif |
1773 | .function = (char *) driver_desc, | 1773 | .function = (char *) driver_desc, |
1774 | .unbind = gadgetfs_unbind, | 1774 | .unbind = gadgetfs_unbind, |
@@ -1792,7 +1792,7 @@ static int gadgetfs_probe (struct usb_gadget *gadget) | |||
1792 | } | 1792 | } |
1793 | 1793 | ||
1794 | static struct usb_gadget_driver probe_driver = { | 1794 | static struct usb_gadget_driver probe_driver = { |
1795 | .speed = USB_SPEED_HIGH, | 1795 | .max_speed = USB_SPEED_HIGH, |
1796 | .unbind = gadgetfs_nop, | 1796 | .unbind = gadgetfs_nop, |
1797 | .setup = (void *)gadgetfs_nop, | 1797 | .setup = (void *)gadgetfs_nop, |
1798 | .disconnect = gadgetfs_nop, | 1798 | .disconnect = gadgetfs_nop, |