projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb94ab
)
clk: socfpga: replace dm_fdt_pre_reloc by dm_ofnode_pre_reloc
author
Patrick Delaunay
<patrick.delaunay@st.com>
Wed, 20 Mar 2019 17:21:25 +0000
(18:21 +0100)
committer
Simon Glass
<sjg@chromium.org>
Fri, 12 Apr 2019 02:10:05 +0000
(20:10 -0600)
Prepare to remove dm_fdt_pre_reloc function.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/altera/clk-arria10.c
patch
|
blob
|
history
diff --git
a/drivers/clk/altera/clk-arria10.c
b/drivers/clk/altera/clk-arria10.c
index 612a1718dcb5c9667a598ff2332b2b5f479e7585..179869df45f7b1407633361af964de8999f520ab 100644
(file)
--- 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,