net: macb: fix mapping of registers
authorRamon Fried <ramon.fried@gmail.com>
Thu, 27 Dec 2018 17:58:42 +0000 (19:58 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 24 Jan 2019 17:35:29 +0000 (11:35 -0600)
commit9043c4e0fc130aba5a1f4161885c9d97b5d8a73f
treea4913f64b4a171dc48c9ef2b85ad2f046a0863af
parent18bfc8fa84cd6d748c134b6265786f7d8226f86c
net: macb: fix mapping of registers

Some architectures (MIPS) needs mapping to access IOMEM.
Fix that.

Fixes: f1dcc19b213d ("net: macb: Convert to driver model")

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c