]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/gadget/ci_udc.h
usb: gadget: f_dfu: write req->actual bytes
[u-boot] / drivers / usb / gadget / ci_udc.h
index c2144021e6750c56badd300e31e01814a92e42e8..95cc07992b412ae92495dfab3252059ed64c0c64 100644 (file)
@@ -86,6 +86,7 @@ struct ci_req {
        /* Buffer for the current transfer. Either req.buf/len or b_buf/len */
        uint8_t *hw_buf;
        uint32_t hw_len;
+       uint32_t dtd_count;
 };
 
 struct ci_ep {
@@ -102,7 +103,6 @@ struct ci_drv {
        struct usb_gadget_driver        *driver;
        struct ehci_ctrl                *ctrl;
        struct ept_queue_head           *epts;
-       struct ept_queue_item           *items[2 * NUM_ENDPOINTS];
        uint8_t                         *items_mem;
        struct ci_ep                    ep[NUM_ENDPOINTS];
 };