]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/video/broadwell_igd.c
dm: core: Replace of_offset with accessor
[people/ms/u-boot.git] / drivers / video / broadwell_igd.c
index beef770f920f4d9c41933b28fa5cd9759a71d9ed..4612d0414efa5ecf2525d97d4b3442fd26bca436 100644 (file)
@@ -705,7 +705,7 @@ static int broadwell_igd_ofdata_to_platdata(struct udevice *dev)
 {
        struct broadwell_igd_plat *plat = dev_get_platdata(dev);
        struct broadwell_igd_priv *priv = dev_get_priv(dev);
-       int node = dev->of_offset;
+       int node = dev_of_offset(dev);
        const void *blob = gd->fdt_blob;
 
        if (fdtdec_get_int_array(blob, node, "intel,dp-hotplug",