summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f7.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-19 02:09:40 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-01 13:03:14 (GMT)
commita4e0ef50dae404939f14e46493a3d5c2111a9d4c (patch)
tree3753b70708d7dd21206534f99e3356574b5f6f10 /drivers/clk/clk_stm32f7.c
parenta1e4adee99355a348806fda1a3cc48af15ee79bc (diff)
downloadu-boot-fsl-qoriq-a4e0ef50dae404939f14e46493a3d5c2111a9d4c.tar.xz
clk: Modify xlate() method for livetree
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/clk/clk_stm32f7.c')
-rw-r--r--drivers/clk/clk_stm32f7.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index da3c204..fcdc3c0 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -252,8 +252,7 @@ static int stm32_clk_probe(struct udevice *dev)
return 0;
}
-static int stm32_clk_of_xlate(struct clk *clk,
- struct fdtdec_phandle_args *args)
+static int stm32_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args)
{
debug("%s(clk=%p)\n", __func__, clk);