projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb9f94
)
usb: gadget: udc: net2280: fix sparse error
author
Felipe Balbi
<balbi@ti.com>
Wed, 16 Jul 2014 17:20:25 +0000
(12:20 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 16 Jul 2014 17:50:40 +0000
(12:50 -0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/net2280.c
b/drivers/usb/gadget/udc/net2280.c
index 248dccb3e5429d3c838c0b9873175e84a7bac780..f4eac113690ebd2e164e4768113aec6319b68290 100644
(file)
--- 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 {