aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/gmidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/gmidi.c')
-rw-r--r--drivers/usb/gadget/gmidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/gmidi.c b/drivers/usb/gadget/gmidi.c
index 881aab86ae99..e879e2c9f461 100644
--- a/drivers/usb/gadget/gmidi.c
+++ b/drivers/usb/gadget/gmidi.c
@@ -125,7 +125,7 @@ static struct usb_configuration midi_config = {
125 .bConfigurationValue = 1, 125 .bConfigurationValue = 1,
126 /* .iConfiguration = DYNAMIC */ 126 /* .iConfiguration = DYNAMIC */
127 .bmAttributes = USB_CONFIG_ATT_ONE, 127 .bmAttributes = USB_CONFIG_ATT_ONE,
128 .bMaxPower = CONFIG_USB_GADGET_VBUS_DRAW / 2, 128 .MaxPower = CONFIG_USB_GADGET_VBUS_DRAW,
129}; 129};
130 130
131static int __init midi_bind_config(struct usb_configuration *c) 131static int __init midi_bind_config(struct usb_configuration *c)