diff options
author | Felipe Balbi <balbi@ti.com> | 2014-07-16 17:20:25 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-07-16 17:50:40 (GMT) |
commit | c43e97b2c5e038bbec525fecb33fde4800631a55 (patch) | |
tree | dc0e86d9da2122fdb41644d4c7b9165861c24514 /drivers | |
parent | bbb9f94cf9e9e1cd120ef757944f0304a89aac95 (diff) | |
download | linux-c43e97b2c5e038bbec525fecb33fde4800631a55.tar.xz |
usb: gadget: udc: net2280: fix sparse error
No functional changes, just fixing one easy
to spot sparse error.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/udc/net2280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 248dccb..f4eac11 100644 --- a/drivers/usb/gadget/udc/net2280.c +++ b/drivers/usb/gadget/udc/net2280.c @@ -2159,7 +2159,7 @@ static void usb_reinit_338x(struct net2280 *dev) if (dev->enhanced_mode) { ep->cfg = &dev->epregs[ne[i]]; ep->regs = (struct net2280_ep_regs __iomem *) - (((void *)&dev->epregs[ne[i]]) + + (((void __iomem *)&dev->epregs[ne[i]]) + ep_reg_addr[i]); ep->fiforegs = &dev->fiforegs[i]; } else { |