From: Patrick Delaunay Date: Wed, 20 Mar 2019 17:21:24 +0000 (+0100) Subject: clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc X-Git-Tag: v2025.01-rc5-pxa1908~3036^2~15 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa;p=u-boot.git clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc Prepare to remove dm_fdt_pre_reloc Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 7cfbabc96d..6b55ec59d6 100644 --- a/drivers/clk/at91/pmc.c +++ b/drivers/clk/at91/pmc.c @@ -61,7 +61,7 @@ int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name) offset > 0; offset = fdt_next_subnode(fdt, offset)) { if (pre_reloc_only && - !dm_fdt_pre_reloc(fdt, offset)) + !dm_ofnode_pre_reloc(offset_to_ofnode(offset))) continue; /* * If this node has "compatible" property, this is not