diff options
Diffstat (limited to 'drivers/video/broadwell_igd.c')
-rw-r--r-- | drivers/video/broadwell_igd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/broadwell_igd.c b/drivers/video/broadwell_igd.c index beef770f920..4612d0414ef 100644 --- a/drivers/video/broadwell_igd.c +++ b/drivers/video/broadwell_igd.c @@ -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", |