diff options
Diffstat (limited to 'drivers/net/ag7xxx.c')
-rw-r--r-- | drivers/net/ag7xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 3b5d11f..ccba394 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -1256,7 +1256,7 @@ static int ag7xxx_eth_ofdata_to_platdata(struct udevice *dev) const char *phy_mode; int ret; - pdata->iobase = devfdt_get_addr(dev); + pdata->iobase = dev_read_addr(dev); pdata->phy_interface = -1; /* Decoding of convoluted PHY wiring on Atheros MIPS. */ |