summaryrefslogtreecommitdiff
path: root/drivers/video/exynos/exynos_dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/exynos/exynos_dp.c')
-rw-r--r--drivers/video/exynos/exynos_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/exynos/exynos_dp.c b/drivers/video/exynos/exynos_dp.c
index 999ee1c14a..749bde862e 100644
--- a/drivers/video/exynos/exynos_dp.c
+++ b/drivers/video/exynos/exynos_dp.c
@@ -884,7 +884,7 @@ static int exynos_dp_ofdata_to_platdata(struct udevice *dev)
unsigned int node = dev_of_offset(dev);
fdt_addr_t addr;
- addr = dev_read_addr(dev);
+ addr = devfdt_get_addr(dev);
if (addr == FDT_ADDR_T_NONE) {
debug("Can't get the DP base address\n");
return -EINVAL;