mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
Prepare to remove dm_fdt_pre_reloc function. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7bb94ab1d5
commit
22319042a3
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ static int socfpga_a10_clk_bind(struct udevice *dev)
|
|||
fdt_node_check_compatible(fdt, offset, "fixed-clock"))
|
||||
continue;
|
||||
|
||||
if (pre_reloc_only && !dm_fdt_pre_reloc(fdt, offset))
|
||||
if (pre_reloc_only &&
|
||||
!dm_ofnode_pre_reloc(offset_to_ofnode(offset)))
|
||||
continue;
|
||||
|
||||
ret = device_bind_driver_to_node(dev, "clk-a10", name,
|
||||
|
|
Loading…
Add table
Reference in a new issue