aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/udc/dummy_hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/udc/dummy_hcd.c')
-rw-r--r--drivers/usb/gadget/udc/dummy_hcd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/dummy_hcd.c
index 5c72ade61aa6..5bffb75922f8 100644
--- a/drivers/usb/gadget/udc/dummy_hcd.c
+++ b/drivers/usb/gadget/udc/dummy_hcd.c
@@ -851,8 +851,7 @@ static int dummy_pullup(struct usb_gadget *_gadget, int value)
851 851
852static int dummy_udc_start(struct usb_gadget *g, 852static int dummy_udc_start(struct usb_gadget *g,
853 struct usb_gadget_driver *driver); 853 struct usb_gadget_driver *driver);
854static int dummy_udc_stop(struct usb_gadget *g, 854static int dummy_udc_stop(struct usb_gadget *g);
855 struct usb_gadget_driver *driver);
856 855
857static const struct usb_gadget_ops dummy_ops = { 856static const struct usb_gadget_ops dummy_ops = {
858 .get_frame = dummy_g_get_frame, 857 .get_frame = dummy_g_get_frame,
@@ -913,8 +912,7 @@ static int dummy_udc_start(struct usb_gadget *g,
913 return 0; 912 return 0;
914} 913}
915 914
916static int dummy_udc_stop(struct usb_gadget *g, 915static int dummy_udc_stop(struct usb_gadget *g)
917 struct usb_gadget_driver *driver)
918{ 916{
919 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g); 917 struct dummy_hcd *dum_hcd = gadget_to_dummy_hcd(g);
920 struct dummy *dum = dum_hcd->dum; 918 struct dummy *dum = dum_hcd->dum;