diff options
Diffstat (limited to 'drivers/net/sunxi_emac.c')
-rw-r--r-- | drivers/net/sunxi_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index df18ecc064..6364beb9f2 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -594,7 +594,7 @@ static int sunxi_emac_eth_ofdata_to_platdata(struct udevice *dev) { struct eth_pdata *pdata = dev_get_platdata(dev); - pdata->iobase = dev_read_addr(dev); + pdata->iobase = devfdt_get_addr(dev); return 0; } |