diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-09-30 20:07:08 +0900 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-10-13 20:38:36 +0300 |
commit | 0a85577627fc81936d3dbdfb349964024adcb01d (patch) | |
tree | f4a7189feb16fbd28c7dbe73a857020976598433 /drivers/usb/gadget/r8a66597-udc.h | |
parent | 276532ba9666b36974cbe16f303fc8be99c9da17 (diff) | |
download | linux-0a85577627fc81936d3dbdfb349964024adcb01d.tar.gz linux-0a85577627fc81936d3dbdfb349964024adcb01d.tar.bz2 linux-0a85577627fc81936d3dbdfb349964024adcb01d.zip |
usb: gadget: r8a66597-udc: change prototype of r8a66597_write_fifo
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/r8a66597-udc.h')
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.h b/drivers/usb/gadget/r8a66597-udc.h index a373c4e64b44..31047f899c37 100644 --- a/drivers/usb/gadget/r8a66597-udc.h +++ b/drivers/usb/gadget/r8a66597-udc.h @@ -173,11 +173,11 @@ static inline void r8a66597_write(struct r8a66597 *r8a66597, u16 val, } static inline void r8a66597_write_fifo(struct r8a66597 *r8a66597, - unsigned long offset, + struct r8a66597_ep *ep, unsigned char *buf, int len) { - void __iomem *fifoaddr = r8a66597->reg + offset; + void __iomem *fifoaddr = r8a66597->reg + ep->fifoaddr; int adj = 0; int i; |