summaryrefslogtreecommitdiff
path: root/drivers/video/tegra124/dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra124/dp.c')
-rw-r--r--drivers/video/tegra124/dp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra124/dp.c b/drivers/video/tegra124/dp.c
index d9599ee950..8f5116fe7c 100644
--- a/drivers/video/tegra124/dp.c
+++ b/drivers/video/tegra124/dp.c
@@ -1566,7 +1566,7 @@ error_enable:
return 0;
}
-static int tegra_dp_ofdata_to_platdata(struct udevice *dev)
+static int tegra_dp_of_to_plat(struct udevice *dev)
{
struct tegra_dp_plat *plat = dev_get_plat(dev);
@@ -1616,7 +1616,7 @@ U_BOOT_DRIVER(dp_tegra) = {
.name = "dpaux_tegra",
.id = UCLASS_DISPLAY,
.of_match = tegra_dp_ids,
- .ofdata_to_platdata = tegra_dp_ofdata_to_platdata,
+ .of_to_plat = tegra_dp_of_to_plat,
.probe = dp_tegra_probe,
.ops = &dp_tegra_ops,
.priv_auto = sizeof(struct tegra_dp_priv),