[U-Boot] [PATCH 1/3] clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
Patrick Delaunay
patrick.delaunay at st.com
Wed Mar 20 17:21:24 UTC 2019
Prepare to remove dm_fdt_pre_reloc
Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---
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
More information about the U-Boot
mailing list