diff options
| author | Marek Vasut <[email protected]> | 2013-07-10 03:16:36 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2013-07-29 23:01:32 +0200 |
| commit | ab52df19c1195699516430be14b6be2d27229444 (patch) | |
| tree | d63891da25f90250e2f7544e76dba09fb9ff469f /include | |
| parent | fe48f05817a0c44724b6e4c6af04c1843f387cea (diff) | |
usb: mv_udc: Move QH and qTD into mv_drv
Both the endpoint queue head and the endpoint item list is a controller
specific thing. Move them both into controller private data.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Lei Wen <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usb/mv_udc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb/mv_udc.h b/include/usb/mv_udc.h index 4b8ad7eab9a..a9869f019d1 100644 --- a/include/usb/mv_udc.h +++ b/include/usb/mv_udc.h @@ -75,6 +75,8 @@ struct mv_drv { struct usb_gadget gadget; struct usb_gadget_driver *driver; struct ehci_ctrl *ctrl; + struct ept_queue_head *epts; + struct ept_queue_item *items[2 * NUM_ENDPOINTS]; struct mv_ep ep[NUM_ENDPOINTS]; }; |
