summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/s3c-hsotg.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-01-24 17:58:16 +0200
committerFelipe Balbi <balbi@ti.com>2013-01-24 21:11:35 +0200
commiteeef45876631a446eaedce16675f4ff344e16cf0 (patch)
treef5309827b77918b0af928e96d1922e1f6f95ddbe /drivers/usb/gadget/s3c-hsotg.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/s3c-hsotg.c')
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 833d85befa3f..26033b50b54a 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3055,7 +3055,7 @@ static int s3c_hsotg_pullup(struct usb_gadget *gadget, int is_on)
return 0;
}
-static struct usb_gadget_ops s3c_hsotg_gadget_ops = {
+static const struct usb_gadget_ops s3c_hsotg_gadget_ops = {
.get_frame = s3c_hsotg_gadget_getframe,
.udc_start = s3c_hsotg_udc_start,
.udc_stop = s3c_hsotg_udc_stop,