diff options
Diffstat (limited to 'drivers/video/tegra124/sor.c')
-rw-r--r-- | drivers/video/tegra124/sor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra124/sor.c b/drivers/video/tegra124/sor.c index 83f3aad92c..95976ee573 100644 --- a/drivers/video/tegra124/sor.c +++ b/drivers/video/tegra124/sor.c @@ -1042,7 +1042,7 @@ static int tegra_sor_set_backlight(struct udevice *dev, int percent) return 0; } -static int tegra_sor_ofdata_to_platdata(struct udevice *dev) +static int tegra_sor_of_to_plat(struct udevice *dev) { struct tegra_dc_sor_data *priv = dev_get_priv(dev); int ret; @@ -1077,7 +1077,7 @@ U_BOOT_DRIVER(sor_tegra) = { .name = "sor_tegra", .id = UCLASS_VIDEO_BRIDGE, .of_match = tegra_sor_ids, - .ofdata_to_platdata = tegra_sor_ofdata_to_platdata, + .of_to_plat = tegra_sor_of_to_plat, .ops = &tegra_sor_ops, .priv_auto = sizeof(struct tegra_dc_sor_data), }; |