mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 21:02:35 +00:00
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>
This commit is contained in:
parent
bbb9f94cf9
commit
c43e97b2c5
@ -2159,7 +2159,7 @@ static void usb_reinit_338x(struct net2280 *dev)
|
|||||||
if (dev->enhanced_mode) {
|
if (dev->enhanced_mode) {
|
||||||
ep->cfg = &dev->epregs[ne[i]];
|
ep->cfg = &dev->epregs[ne[i]];
|
||||||
ep->regs = (struct net2280_ep_regs __iomem *)
|
ep->regs = (struct net2280_ep_regs __iomem *)
|
||||||
(((void *)&dev->epregs[ne[i]]) +
|
(((void __iomem *)&dev->epregs[ne[i]]) +
|
||||||
ep_reg_addr[i]);
|
ep_reg_addr[i]);
|
||||||
ep->fiforegs = &dev->fiforegs[i];
|
ep->fiforegs = &dev->fiforegs[i];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user