aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/m66592-udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 10:58:16 -0500
committerFelipe Balbi <balbi@ti.com>2013-01-24 14:11:35 -0500
commiteeef45876631a446eaedce16675f4ff344e16cf0 (patch)
treef5309827b77918b0af928e96d1922e1f6f95ddbe /drivers/usb/gadget/m66592-udc.c
parent449d04a977f63e6218d88312f9bd3cb53fb5d30b (diff)
usb: gadget: constify all struct usb_gadget_ops
Add the missing 'const' keyword to all struct usb_gadget_ops in the gadget framework. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/m66592-udc.c')
-rw-r--r--drivers/usb/gadget/m66592-udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c
index 0a35db1ae029..34a0cb9382dc 100644
--- a/drivers/usb/gadget/m66592-udc.c
+++ b/drivers/usb/gadget/m66592-udc.c
@@ -1526,7 +1526,7 @@ static int m66592_pullup(struct usb_gadget *gadget, int is_on)
1526 return 0; 1526 return 0;
1527} 1527}
1528 1528
1529static struct usb_gadget_ops m66592_gadget_ops = { 1529static const struct usb_gadget_ops m66592_gadget_ops = {
1530 .get_frame = m66592_get_frame, 1530 .get_frame = m66592_get_frame,
1531 .udc_start = m66592_udc_start, 1531 .udc_start = m66592_udc_start,
1532 .udc_stop = m66592_udc_stop, 1532 .udc_stop = m66592_udc_stop,