dm: core: remove the duplicated function dm_ofnode_pre_reloc
[oweals/u-boot.git] / drivers / clk / altera / clk-arria10.c
index b7eed948a518164e5695a340818a47c1b39accc0..694a9427e1fde749cf9619e8c99f5ebe0d9c0f1c 100644 (file)
@@ -258,7 +258,7 @@ static int socfpga_a10_clk_bind(struct udevice *dev)
                        continue;
 
                if (pre_reloc_only &&
-                   !dm_ofnode_pre_reloc(offset_to_ofnode(offset)))
+                   !ofnode_pre_reloc(offset_to_ofnode(offset)))
                        continue;
 
                ret = device_bind_driver_to_node(dev, "clk-a10", name,