From 7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Wed, 20 Mar 2019 18:21:24 +0100 Subject: [PATCH] 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 --- drivers/clk/at91/pmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c index 7cfbabc..6b55ec5 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 -- 2.7.4