dm: core: remove the duplicated function dm_ofnode_pre_reloc
[oweals/u-boot.git] / drivers / clk / at91 / pmc.c
index 6b55ec59d6dfdd6456e26ddb3cd38ef8d6d8f861..f5808449a629132300b7aae5104e651b15622783 100644 (file)
@@ -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_ofnode_pre_reloc(offset_to_ofnode(offset)))
+                   !ofnode_pre_reloc(offset_to_ofnode(offset)))
                        continue;
                /*
                 * If this node has "compatible" property, this is not