diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-03-20 20:21:25 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-04-12 05:10:05 +0300 |
commit | 22319042a3e90b64943d8d7a9a9e89899372c34a (patch) | |
tree | fd7cf8283787584ab5d2aac03a0e0d862980c898 /drivers/clk/altera | |
parent | 7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa (diff) | |
download | u-boot-22319042a3e90b64943d8d7a9a9e89899372c34a.tar.xz |
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>
Diffstat (limited to 'drivers/clk/altera')
-rw-r--r-- | drivers/clk/altera/clk-arria10.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/altera/clk-arria10.c b/drivers/clk/altera/clk-arria10.c index 612a1718dc..179869df45 100644 --- a/drivers/clk/altera/clk-arria10.c +++ b/drivers/clk/altera/clk-arria10.c @@ -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, |