summaryrefslogtreecommitdiff
path: root/drivers/clk/altera/clk-arria10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/altera/clk-arria10.c')
-rw-r--r--drivers/clk/altera/clk-arria10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/altera/clk-arria10.c b/drivers/clk/altera/clk-arria10.c
index ede0be299d..732ed4d79b 100644
--- a/drivers/clk/altera/clk-arria10.c
+++ b/drivers/clk/altera/clk-arria10.c
@@ -285,7 +285,7 @@ static int socfpga_a10_clk_probe(struct udevice *dev)
socfpga_a10_handoff_workaround(dev);
if (!fdt_node_check_compatible(fdt, offset, "altr,clk-mgr")) {
- plat->regs = devfdt_get_addr(dev);
+ plat->regs = dev_read_addr(dev);
} else {
pdev = dev_get_parent(dev);
if (!pdev)