]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/musb-new/pic32.c
dm: core: Replace of_offset with accessor
[u-boot] / drivers / usb / musb-new / pic32.c
index c888c645fa015bc19ba3e40f21d0e95f4333a516..ed6da19eecdb52da9f88e4be662ed9d6dee2a71a 100644 (file)
@@ -219,7 +219,7 @@ static int musb_usb_probe(struct udevice *dev)
        struct musb_host_data *mdata = &pdata->mdata;
        struct fdt_resource mc, glue;
        void *fdt = (void *)gd->fdt_blob;
-       int node = dev->of_offset;
+       int node = dev_of_offset(dev);
        void __iomem *mregs;
        int ret;