summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/omap_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 16:58:16 +0100
committerFelipe Balbi <balbi@ti.com>2013-01-24 20:11:35 +0100
commiteeef45876631a446eaedce16675f4ff344e16cf0 (patch)
treef5309827b77918b0af928e96d1922e1f6f95ddbe /drivers/usb/gadget/omap_udc.c
parentusb: gadget: mv_udc: fix the value of tranceiver (diff)
downloadlinux-eeef45876631a446eaedce16675f4ff344e16cf0.tar.xz
linux-eeef45876631a446eaedce16675f4ff344e16cf0.zip
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/omap_udc.c')
-rw-r--r--drivers/usb/gadget/omap_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index d0c87b15b9a3..06be85c2b233 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -1314,7 +1314,7 @@ static int omap_udc_start(struct usb_gadget *g,
static int omap_udc_stop(struct usb_gadget *g,
struct usb_gadget_driver *driver);
-static struct usb_gadget_ops omap_gadget_ops = {
+static const struct usb_gadget_ops omap_gadget_ops = {
.get_frame = omap_get_frame,
.wakeup = omap_wakeup,
.set_selfpowered = omap_set_selfpowered,