diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-11-07 08:41:26 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-26 20:41:32 +0100 |
commit | 1efd54eab2b60c68c2ce75ea635306cef847d751 (patch) | |
tree | b810315964acc35866cf4cda9c1032a6c71e83bf /drivers/usb/gadget/g_zero.h | |
parent | usb: gadget: composite: redirect setup requests (diff) | |
download | linux-1efd54eab2b60c68c2ce75ea635306cef847d751.tar.xz linux-1efd54eab2b60c68c2ce75ea635306cef847d751.zip |
usb: gadget: factor out alloc_ep_req
alloc_ep_req() is a function repeated in several modules.
Make a common implementation and use it.
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/g_zero.h')
-rw-r--r-- | drivers/usb/gadget/g_zero.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/g_zero.h b/drivers/usb/gadget/g_zero.h index ef3e8515272b..a1c1a978b5e9 100644 --- a/drivers/usb/gadget/g_zero.h +++ b/drivers/usb/gadget/g_zero.h @@ -36,7 +36,6 @@ void lb_modexit(void); int lb_modinit(void); /* common utilities */ -struct usb_request *alloc_ep_req(struct usb_ep *ep, int len); void free_ep_req(struct usb_ep *ep, struct usb_request *req); void disable_endpoints(struct usb_composite_dev *cdev, struct usb_ep *in, struct usb_ep *out, |