aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/r8a66597-udc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-25 12:08:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-25 12:08:05 -0500
commitcba6c85027057d4bf7029d32c64e2647859be07a (patch)
tree055c3f7614dde5ab48ea5ee148b6e0476ca24ca4 /drivers/usb/gadget/r8a66597-udc.c
parenta9b8676c17cee40ac78696bb56ab61d550382898 (diff)
parenteeef45876631a446eaedce16675f4ff344e16cf0 (diff)
Merge tag 'gadget-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
Felipe writes: usb: gadget: patches for v3.9 merge window finally getting rid of the old ->start()/->stop() methods in favor of the better and improved ->udc_start()/->udc_stop(). There were surprisingly quite a few users left, but all of them have been converted. f_mass_storage removed some dead code, which is always great ;-) There's also a big cleanup to the gadget framework from Sebastian which gets us a lot closer to having only function drivers in kernel and move over to configfs-based binding. Other than these, there's the usual set of cleanups: s3c UDCs are moving over to devm_regulator_bulk_get() API, at91_udc removed an unnecessary check for work_pending() before scheduling and there's the removal of an unused variable from uac2_pcm_trigger().
Diffstat (limited to 'drivers/usb/gadget/r8a66597-udc.c')
-rw-r--r--drivers/usb/gadget/r8a66597-udc.c2
1 files changed, 1 insertions, 1 deletions
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
1815static struct usb_gadget_ops r8a66597_gadget_ops = { 1815static 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,