]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/remoteproc/ti_power_proc.c
dm: core: Replace of_offset with accessor
[people/ms/u-boot.git] / drivers / remoteproc / ti_power_proc.c
index 76ac3be092e2567642316221326fd1f86b2502c2..bb7a145f45242a9ca6188c44fa1a014dc5fb5705 100644 (file)
@@ -33,7 +33,7 @@ struct ti_powerproc_privdata {
 static int ti_of_to_priv(struct udevice *dev,
                         struct ti_powerproc_privdata *priv)
 {
-       int node = dev->of_offset;
+       int node = dev_of_offset(dev);
        const void *blob = gd->fdt_blob;
        int tmp;