aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/rockchip/rk_edp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/rockchip/rk_edp.c')
-rw-r--r--drivers/video/rockchip/rk_edp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/rockchip/rk_edp.c b/drivers/video/rockchip/rk_edp.c
index 30fe8cee3c3..0be60e169e3 100644
--- a/drivers/video/rockchip/rk_edp.c
+++ b/drivers/video/rockchip/rk_edp.c
@@ -1001,7 +1001,7 @@ done:
return edid_size;
}
-static int rk_edp_ofdata_to_platdata(struct udevice *dev)
+static int rk_edp_of_to_plat(struct udevice *dev)
{
struct rk_edp_priv *priv = dev_get_priv(dev);
@@ -1099,7 +1099,7 @@ U_BOOT_DRIVER(dp_rockchip) = {
.id = UCLASS_DISPLAY,
.of_match = rockchip_dp_ids,
.ops = &dp_rockchip_ops,
- .ofdata_to_platdata = rk_edp_ofdata_to_platdata,
+ .of_to_plat = rk_edp_of_to_plat,
.probe = rk_edp_probe,
.remove = rk_edp_remove,
.priv_auto = sizeof(struct rk_edp_priv),