diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-03-20 18:21:24 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-04-11 20:10:05 -0600 |
commit | 7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa (patch) | |
tree | 67f251fc22f1d191a61f8b88bd0f4c39646dbf68 /drivers/clk/at91 | |
parent | 553a1a26e8f21fc252a2600e1708e403b79874a6 (diff) | |
download | u-boot-7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa.zip u-boot-7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa.tar.gz u-boot-7bb94ab1d5cde8e0fce90e0e48729dec3683c5aa.tar.bz2 |
clk: at91: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
Prepare to remove dm_fdt_pre_reloc
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r-- | drivers/clk/at91/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |