summaryrefslogtreecommitdiff
path: root/drivers/video/rockchip/rk_vop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/rockchip/rk_vop.c')
-rw-r--r--drivers/video/rockchip/rk_vop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index aa6ca8c859..48bfcd4f34 100644
--- a/drivers/video/rockchip/rk_vop.c
+++ b/drivers/video/rockchip/rk_vop.c
@@ -294,7 +294,7 @@ static int rk_vop_probe(struct udevice *dev)
return 0;
priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF);
- priv->regs = (struct rk3288_vop *)dev_get_addr(dev);
+ priv->regs = (struct rk3288_vop *)devfdt_get_addr(dev);
/* lcdc(vop) iodomain select 1.8V */
rk_setreg(&priv->grf->io_vsel, 1 << 0);