summaryrefslogtreecommitdiff
path: root/drivers/video/stm32/stm32_dsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/stm32/stm32_dsi.c')
-rw-r--r--drivers/video/stm32/stm32_dsi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c
index 283151398b..9d5abacc2b 100644
--- a/drivers/video/stm32/stm32_dsi.c
+++ b/drivers/video/stm32/stm32_dsi.c
@@ -359,8 +359,7 @@ static int stm32_dsi_attach(struct udevice *dev)
ret = panel_get_display_timing(priv->panel, &timings);
if (ret) {
- ret = fdtdec_decode_display_timing(gd->fdt_blob,
- dev_of_offset(priv->panel),
+ ret = ofnode_decode_display_timing(dev_ofnode(priv->panel),
0, &timings);
if (ret) {
dev_err(dev, "decode display timing error %d\n", ret);