summaryrefslogtreecommitdiff
path: root/drivers/video/atmel_lcdfb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-02-08 16:24:44 -0500
committerTom Rini <trini@konsulko.com>2017-02-08 16:24:44 -0500
commit21342d4aed6c77a4aa7a5b2579b3c23e21aea31a (patch)
tree279c781bdcbe697257ff86714fa0355bcd92fd19 /drivers/video/atmel_lcdfb.c
parent7582ddce132390fba10822c5977cd1ab532bb1eb (diff)
parentf11a0af713a714ee2efcd810dd81c6dfd59381aa (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'drivers/video/atmel_lcdfb.c')
-rw-r--r--drivers/video/atmel_lcdfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 39cd7caff1..ed2bd306c6 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -276,7 +276,7 @@ static int atmel_fb_ofdata_to_platdata(struct udevice *dev)
struct display_timing *timing = &priv->timing;
const void *blob = gd->fdt_blob;
- if (fdtdec_decode_display_timing(blob, dev->of_offset,
+ if (fdtdec_decode_display_timing(blob, dev_of_offset(dev),
plat->timing_index, timing)) {
debug("%s: Failed to decode display timing\n", __func__);
return -EINVAL;