summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/fusb300_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 19:58:16 +0400
committerFelipe Balbi <balbi@ti.com>2013-01-24 23:11:35 +0400
commiteeef45876631a446eaedce16675f4ff344e16cf0 (patch)
treef5309827b77918b0af928e96d1922e1f6f95ddbe /drivers/usb/gadget/fusb300_udc.c
parent449d04a977f63e6218d88312f9bd3cb53fb5d30b (diff)
downloadlinux-eeef45876631a446eaedce16675f4ff344e16cf0.tar.xz
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/fusb300_udc.c')
-rw-r--r--drivers/usb/gadget/fusb300_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c
index 8c2372fa294f..9fafb00d3c7a 100644
--- a/drivers/usb/gadget/fusb300_udc.c
+++ b/drivers/usb/gadget/fusb300_udc.c
@@ -1341,7 +1341,7 @@ static int fusb300_udc_pullup(struct usb_gadget *_gadget, int is_active)
return 0;
}
-static struct usb_gadget_ops fusb300_gadget_ops = {
+static const struct usb_gadget_ops fusb300_gadget_ops = {
.pullup = fusb300_udc_pullup,
.udc_start = fusb300_udc_start,
.udc_stop = fusb300_udc_stop,