diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-24 19:58:16 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-24 23:11:35 +0400 |
commit | eeef45876631a446eaedce16675f4ff344e16cf0 (patch) | |
tree | f5309827b77918b0af928e96d1922e1f6f95ddbe /drivers/usb/gadget/fsl_qe_udc.c | |
parent | 449d04a977f63e6218d88312f9bd3cb53fb5d30b (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/fsl_qe_udc.c')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index ec50f18c8890..034477ce77c6 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c @@ -1894,7 +1894,7 @@ static int fsl_qe_stop(struct usb_gadget *gadget, struct usb_gadget_driver *driver); /* defined in usb_gadget.h */ -static struct usb_gadget_ops qe_gadget_ops = { +static const struct usb_gadget_ops qe_gadget_ops = { .get_frame = qe_get_frame, .udc_start = fsl_qe_start, .udc_stop = fsl_qe_stop, |