Skip to content

Commit

Permalink
usb: dwc3: move gadget prototypes to core.h
Browse files Browse the repository at this point in the history
host prototypes are there, let's move gadget's
closer.

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Dec 12, 2011
1 parent 67920bd commit f80b45e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/dwc3/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -791,4 +791,7 @@ union dwc3_event {
int dwc3_host_init(struct dwc3 *dwc);
void dwc3_host_exit(struct dwc3 *dwc);

int dwc3_gadget_init(struct dwc3 *dwc);
void dwc3_gadget_exit(struct dwc3 *dwc);

#endif /* __DRIVERS_USB_DWC3_CORE_H */
3 changes: 0 additions & 3 deletions drivers/usb/dwc3/gadget.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ static inline void dwc3_gadget_move_request_queued(struct dwc3_request *req)
list_move_tail(&req->list, &dep->req_queued);
}

int dwc3_gadget_init(struct dwc3 *dwc);
void dwc3_gadget_exit(struct dwc3 *dwc);

void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
int status);

Expand Down

0 comments on commit f80b45e

Please sign in to comment.