Date:2011-06-06 07:05:17 (9 years 1 month ago)
Author:Lars C.
Commit:be977234bfb4a6dca8a39e7c52165e4cd536ad71
Message:jz4740: Fix compile error

Files: drivers/usb/gadget/jz4740_udc.c (4 diffs)

Change Details

drivers/usb/gadget/jz4740_udc.c
243243                   struct jz4740_request *req, unsigned int count)
244244{
245245    uint8_t *buf;
246    unsigned int length, nlong, nbyte;
246    unsigned int length;
247247    void __iomem *fifo = ep->dev->base + ep->fifo;
248248
249249    DEBUG("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
...... 
266266                  struct jz4740_request *req, unsigned int count)
267267{
268268    uint8_t *buf;
269    unsigned int length, nlong, nbyte;
269    unsigned int length;
270270    void __iomem *fifo = ep->dev->base + ep->fifo;
271271    DEBUG("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
272272
...... 
524524{
525525    struct jz4740_udc *dev = ep->dev;
526526    uint32_t max, csr;
527    uint32_t physaddr = virt_to_phys((void *)req->req.buf);
528527
529528    DEBUG("%s:%s[%d]\n", __FILE__, __func__, __LINE__);
530529    max = le16_to_cpu(ep->desc->wMaxPacketSize);
...... 
14621461            return -EOPNOTSUPP;
14631462        }
14641463
1465        jz_udc_select_ep(ep);
1464        jz_udc_select_ep(qep);
14661465
14671466        /* Return status on next IN token */
14681467        switch (qep->type) {

Archive Download the corresponding diff file



interactive