diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/fsl_qe_udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/fsl_udc_core.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/m66592-udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/omap_udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/s3c-hsudc.c | 2 | ||||
-rw-r--r-- | drivers/usb/renesas_usbhs/mod_gadget.c | 2 |
9 files changed, 9 insertions, 9 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, | |||
1894 | struct usb_gadget_driver *driver); | 1894 | struct usb_gadget_driver *driver); |
1895 | 1895 | ||
1896 | /* defined in usb_gadget.h */ | 1896 | /* defined in usb_gadget.h */ |
1897 | static struct usb_gadget_ops qe_gadget_ops = { | 1897 | static const struct usb_gadget_ops qe_gadget_ops = { |
1898 | .get_frame = qe_get_frame, | 1898 | .get_frame = qe_get_frame, |
1899 | .udc_start = fsl_qe_start, | 1899 | .udc_start = fsl_qe_start, |
1900 | .udc_stop = fsl_qe_stop, | 1900 | .udc_stop = fsl_qe_stop, |
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index 49642d4ae83c..38939561cff3 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c | |||
@@ -1259,7 +1259,7 @@ static int fsl_udc_start(struct usb_gadget *g, | |||
1259 | static int fsl_udc_stop(struct usb_gadget *g, | 1259 | static int fsl_udc_stop(struct usb_gadget *g, |
1260 | struct usb_gadget_driver *driver); | 1260 | struct usb_gadget_driver *driver); |
1261 | /* defined in gadget.h */ | 1261 | /* defined in gadget.h */ |
1262 | static struct usb_gadget_ops fsl_gadget_ops = { | 1262 | static const struct usb_gadget_ops fsl_gadget_ops = { |
1263 | .get_frame = fsl_get_frame, | 1263 | .get_frame = fsl_get_frame, |
1264 | .wakeup = fsl_wakeup, | 1264 | .wakeup = fsl_wakeup, |
1265 | /* .set_selfpowered = fsl_set_selfpowered, */ /* Always selfpowered */ | 1265 | /* .set_selfpowered = fsl_set_selfpowered, */ /* Always selfpowered */ |
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) | |||
1341 | return 0; | 1341 | return 0; |
1342 | } | 1342 | } |
1343 | 1343 | ||
1344 | static struct usb_gadget_ops fusb300_gadget_ops = { | 1344 | static const struct usb_gadget_ops fusb300_gadget_ops = { |
1345 | .pullup = fusb300_udc_pullup, | 1345 | .pullup = fusb300_udc_pullup, |
1346 | .udc_start = fusb300_udc_start, | 1346 | .udc_start = fusb300_udc_start, |
1347 | .udc_stop = fusb300_udc_stop, | 1347 | .udc_stop = fusb300_udc_stop, |
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 | ||
1529 | static struct usb_gadget_ops m66592_gadget_ops = { | 1529 | static 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, |
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, | |||
1314 | static int omap_udc_stop(struct usb_gadget *g, | 1314 | static int omap_udc_stop(struct usb_gadget *g, |
1315 | struct usb_gadget_driver *driver); | 1315 | struct usb_gadget_driver *driver); |
1316 | 1316 | ||
1317 | static struct usb_gadget_ops omap_gadget_ops = { | 1317 | static const struct usb_gadget_ops omap_gadget_ops = { |
1318 | .get_frame = omap_get_frame, | 1318 | .get_frame = omap_get_frame, |
1319 | .wakeup = omap_wakeup, | 1319 | .wakeup = omap_wakeup, |
1320 | .set_selfpowered = omap_set_selfpowered, | 1320 | .set_selfpowered = omap_set_selfpowered, |
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c index 5a80751accb7..234838da6d51 100644 --- a/drivers/usb/gadget/r8a66597-udc.c +++ b/drivers/usb/gadget/r8a66597-udc.c | |||
@@ -1812,7 +1812,7 @@ static int r8a66597_set_selfpowered(struct usb_gadget *gadget, int is_self) | |||
1812 | return 0; | 1812 | return 0; |
1813 | } | 1813 | } |
1814 | 1814 | ||
1815 | static struct usb_gadget_ops r8a66597_gadget_ops = { | 1815 | static const struct usb_gadget_ops r8a66597_gadget_ops = { |
1816 | .get_frame = r8a66597_get_frame, | 1816 | .get_frame = r8a66597_get_frame, |
1817 | .udc_start = r8a66597_start, | 1817 | .udc_start = r8a66597_start, |
1818 | .udc_stop = r8a66597_stop, | 1818 | .udc_stop = r8a66597_stop, |
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) | |||
3055 | return 0; | 3055 | return 0; |
3056 | } | 3056 | } |
3057 | 3057 | ||
3058 | static struct usb_gadget_ops s3c_hsotg_gadget_ops = { | 3058 | static const struct usb_gadget_ops s3c_hsotg_gadget_ops = { |
3059 | .get_frame = s3c_hsotg_gadget_getframe, | 3059 | .get_frame = s3c_hsotg_gadget_getframe, |
3060 | .udc_start = s3c_hsotg_udc_start, | 3060 | .udc_start = s3c_hsotg_udc_start, |
3061 | .udc_stop = s3c_hsotg_udc_stop, | 3061 | .udc_stop = s3c_hsotg_udc_stop, |
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index 4a3d620e1f11..3ed5a397296f 100644 --- a/drivers/usb/gadget/s3c-hsudc.c +++ b/drivers/usb/gadget/s3c-hsudc.c | |||
@@ -1254,7 +1254,7 @@ static int s3c_hsudc_vbus_draw(struct usb_gadget *gadget, unsigned mA) | |||
1254 | return -EOPNOTSUPP; | 1254 | return -EOPNOTSUPP; |
1255 | } | 1255 | } |
1256 | 1256 | ||
1257 | static struct usb_gadget_ops s3c_hsudc_gadget_ops = { | 1257 | static const struct usb_gadget_ops s3c_hsudc_gadget_ops = { |
1258 | .get_frame = s3c_hsudc_gadget_getframe, | 1258 | .get_frame = s3c_hsudc_gadget_getframe, |
1259 | .udc_start = s3c_hsudc_start, | 1259 | .udc_start = s3c_hsudc_start, |
1260 | .udc_stop = s3c_hsudc_stop, | 1260 | .udc_stop = s3c_hsudc_stop, |
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c index dd41f61893ef..809745072c11 100644 --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c | |||
@@ -905,7 +905,7 @@ static int usbhsg_set_selfpowered(struct usb_gadget *gadget, int is_self) | |||
905 | return 0; | 905 | return 0; |
906 | } | 906 | } |
907 | 907 | ||
908 | static struct usb_gadget_ops usbhsg_gadget_ops = { | 908 | static const struct usb_gadget_ops usbhsg_gadget_ops = { |
909 | .get_frame = usbhsg_get_frame, | 909 | .get_frame = usbhsg_get_frame, |
910 | .set_selfpowered = usbhsg_set_selfpowered, | 910 | .set_selfpowered = usbhsg_set_selfpowered, |
911 | .udc_start = usbhsg_gadget_start, | 911 | .udc_start = usbhsg_gadget_start, |