diff options
Diffstat (limited to 'drivers/video/tegra.c')
-rw-r--r-- | drivers/video/tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra.c b/drivers/video/tegra.c index 827ea13d13..1208d91286 100644 --- a/drivers/video/tegra.c +++ b/drivers/video/tegra.c @@ -346,7 +346,7 @@ static int tegra_lcd_ofdata_to_platdata(struct udevice *dev) int rgb; int ret; - priv->disp = dev_read_addr_ptr(dev); + priv->disp = (struct disp_ctlr *)devfdt_get_addr(dev); if (!priv->disp) { debug("%s: No display controller address\n", __func__); return -EINVAL; |