diff options
Diffstat (limited to 'drivers/clk/altera/clk-agilex.c')
-rw-r--r-- | drivers/clk/altera/clk-agilex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/altera/clk-agilex.c b/drivers/clk/altera/clk-agilex.c index c67155c03f..e0f43a264c 100644 --- a/drivers/clk/altera/clk-agilex.c +++ b/drivers/clk/altera/clk-agilex.c @@ -628,7 +628,7 @@ static int socfpga_clk_probe(struct udevice *dev) return 0; } -static int socfpga_clk_ofdata_to_platdata(struct udevice *dev) +static int socfpga_clk_of_to_plat(struct udevice *dev) { struct socfpga_clk_platdata *plat = dev_get_plat(dev); fdt_addr_t addr; @@ -657,6 +657,6 @@ U_BOOT_DRIVER(socfpga_agilex_clk) = { .of_match = socfpga_clk_match, .ops = &socfpga_clk_ops, .probe = socfpga_clk_probe, - .ofdata_to_platdata = socfpga_clk_ofdata_to_platdata, + .of_to_plat = socfpga_clk_of_to_plat, .plat_auto = sizeof(struct socfpga_clk_platdata), }; |