diff mbox

[2/3] usb: gadget: udc: net2280: fix sparse error

Message ID 1405532490-12625-2-git-send-email-balbi@ti.com
State Accepted
Commit c43e97b2c5e038bbec525fecb33fde4800631a55
Headers show

Commit Message

Felipe Balbi July 16, 2014, 5:41 p.m. UTC
No functional changes, just fixing one easy
to spot sparse error.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/usb/gadget/udc/net2280.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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 {