]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/ag7xxx.c
dm: Rename dev_addr..() functions
[u-boot] / drivers / net / ag7xxx.c
index f8782bcbd03205bb6e92879140e3e78a87cd46f1..cf60d114756458feb0a92c21694d42aab2bbb717 100644 (file)
@@ -941,7 +941,7 @@ static int ag7xxx_eth_ofdata_to_platdata(struct udevice *dev)
        const char *phy_mode;
        int ret;
 
-       pdata->iobase = dev_get_addr(dev);
+       pdata->iobase = devfdt_get_addr(dev);
        pdata->phy_interface = -1;
 
        /* Decoding of convoluted PHY wiring on Atheros MIPS. */