summaryrefslogtreecommitdiff
path: root/drivers/clk/rockchip/clk_rv1108.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/rockchip/clk_rv1108.c')
-rw-r--r--drivers/clk/rockchip/clk_rv1108.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk_rv1108.c b/drivers/clk/rockchip/clk_rv1108.c
index efc07a05b1..62bcf5a2ab 100644
--- a/drivers/clk/rockchip/clk_rv1108.c
+++ b/drivers/clk/rockchip/clk_rv1108.c
@@ -662,7 +662,7 @@ static void rkclk_init(struct rv1108_cru *cru)
aclk_bus, aclk_peri, hclk_peri, pclk_peri);
}
-static int rv1108_clk_ofdata_to_platdata(struct udevice *dev)
+static int rv1108_clk_of_to_plat(struct udevice *dev)
{
struct rv1108_clk_priv *priv = dev_get_priv(dev);
@@ -722,6 +722,6 @@ U_BOOT_DRIVER(clk_rv1108) = {
.priv_auto = sizeof(struct rv1108_clk_priv),
.ops = &rv1108_clk_ops,
.bind = rv1108_clk_bind,
- .ofdata_to_platdata = rv1108_clk_ofdata_to_platdata,
+ .of_to_plat = rv1108_clk_of_to_plat,
.probe = rv1108_clk_probe,
};