rockchip: video: rk3399: add HDMI TX support on the RK3399
[oweals/u-boot.git] / drivers / video / tegra.c
index 0ba3f2c2b4bbaa684289332f9f2d7adf8f14a80c..ec62fc9e51746a227a270f926637164001d98060 100644 (file)
@@ -343,7 +343,7 @@ static int tegra_lcd_ofdata_to_platdata(struct udevice *dev)
        int rgb;
        int ret;
 
-       priv->disp = (struct disp_ctlr *)dev_get_addr(dev);
+       priv->disp = (struct disp_ctlr *)devfdt_get_addr(dev);
        if (!priv->disp) {
                debug("%s: No display controller address\n", __func__);
                return -EINVAL;