aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-10-12 07:15:49 -0400
committerFelipe Balbi <balbi@ti.com>2011-12-12 04:48:13 -0500
commitf80b45e75e112e78b2b439dd3401bb3dff7cf6a1 (patch)
tree754fa4096746a095cbbf017b1dd70041ed457a67 /drivers/usb/dwc3
parent67920bd7c984c7f3a73305ad11cbb9fd3d5e239c (diff)
usb: dwc3: move gadget prototypes to core.h
host prototypes are there, let's move gadget's closer. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/core.h3
-rw-r--r--drivers/usb/dwc3/gadget.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index a7755437322..513a7391099 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -791,4 +791,7 @@ union dwc3_event {
791int dwc3_host_init(struct dwc3 *dwc); 791int dwc3_host_init(struct dwc3 *dwc);
792void dwc3_host_exit(struct dwc3 *dwc); 792void dwc3_host_exit(struct dwc3 *dwc);
793 793
794int dwc3_gadget_init(struct dwc3 *dwc);
795void dwc3_gadget_exit(struct dwc3 *dwc);
796
794#endif /* __DRIVERS_USB_DWC3_CORE_H */ 797#endif /* __DRIVERS_USB_DWC3_CORE_H */
diff --git a/drivers/usb/dwc3/gadget.h b/drivers/usb/dwc3/gadget.h
index 6dec6d94e54..5c4a56f055e 100644
--- a/drivers/usb/dwc3/gadget.h
+++ b/drivers/usb/dwc3/gadget.h
@@ -110,9 +110,6 @@ static inline void dwc3_gadget_move_request_queued(struct dwc3_request *req)
110 list_move_tail(&req->list, &dep->req_queued); 110 list_move_tail(&req->list, &dep->req_queued);
111} 111}
112 112
113int dwc3_gadget_init(struct dwc3 *dwc);
114void dwc3_gadget_exit(struct dwc3 *dwc);
115
116void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 113void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
117 int status); 114 int status);
118 115