From: Patrick Delaunay Date: Wed, 20 Mar 2019 17:21:25 +0000 (+0100) Subject: clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc X-Git-Tag: v2025.01-rc5-pxa1908~3036^2~14 X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=22319042a3e90b64943d8d7a9a9e89899372c34a;p=u-boot.git clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc Prepare to remove dm_fdt_pre_reloc function. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- diff --git a/drivers/clk/altera/clk-arria10.c b/drivers/clk/altera/clk-arria10.c index 612a1718dc..179869df45 100644 --- a/drivers/clk/altera/clk-arria10.c +++ b/drivers/clk/altera/clk-arria10.c @@ -254,7 +254,8 @@ static int socfpga_a10_clk_bind(struct udevice *dev) fdt_node_check_compatible(fdt, offset, "fixed-clock")) continue; - if (pre_reloc_only && !dm_fdt_pre_reloc(fdt, offset)) + if (pre_reloc_only && + !dm_ofnode_pre_reloc(offset_to_ofnode(offset))) continue; ret = device_bind_driver_to_node(dev, "clk-a10", name,