]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ehci-exynos.c
dm: core: Replace of_offset with accessor
[u-boot] / drivers / usb / host / ehci-exynos.c
index 53281d78b35f1b39860da8aa2b027cbdcf2a68ed..981543e31501cd6ad7fe10e2704ff39dabb8cd69 100644 (file)
@@ -59,7 +59,7 @@ static int ehci_usb_ofdata_to_platdata(struct udevice *dev)
        }
 
        depth = 0;
-       node = fdtdec_next_compatible_subnode(blob, dev->of_offset,
+       node = fdtdec_next_compatible_subnode(blob, dev_of_offset(dev),
                                COMPAT_SAMSUNG_EXYNOS_USB_PHY, &depth);
        if (node <= 0) {
                debug("XHCI: Can't get device node for usb3-phy controller\n");