summaryrefslogtreecommitdiff
path: root/drivers/video/rockchip/rk_lvds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/rockchip/rk_lvds.c')
-rw-r--r--drivers/video/rockchip/rk_lvds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/rockchip/rk_lvds.c b/drivers/video/rockchip/rk_lvds.c
index 79e24baf53..404af7eb6e 100644
--- a/drivers/video/rockchip/rk_lvds.c
+++ b/drivers/video/rockchip/rk_lvds.c
@@ -161,8 +161,7 @@ int rk_lvds_enable(struct udevice *dev, int panel_bpp,
int rk_lvds_read_timing(struct udevice *dev, struct display_timing *timing)
{
- if (fdtdec_decode_display_timing
- (gd->fdt_blob, dev_of_offset(dev), 0, timing)) {
+ if (ofnode_decode_display_timing(dev_ofnode(dev), 0, timing)) {
debug("%s: Failed to decode display timing\n", __func__);
return -EINVAL;
}