]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/usb/musb-new/ti-musb.c
dm: Rename dev_addr..() functions
[people/ms/u-boot.git] / drivers / usb / musb-new / ti-musb.c
index 852f07facc38e07a244bad501bb3ef8dd542c22f..27018c73b651fb2279c5ce8f8806d95911cf3d58 100644 (file)
@@ -88,7 +88,7 @@ static int ti_musb_ofdata_to_platdata(struct udevice *dev)
        int ctrl_mod;
        int usb_index;
 
-       platdata->base = (void *)dev_get_addr_index(dev, 1);
+       platdata->base = (void *)devfdt_get_addr_index(dev, 1);
 
        phys = fdtdec_lookup_phandle(fdt, node, "phys");
        ctrl_mod = fdtdec_lookup_phandle(fdt, phys, "ti,ctrl_mod");