diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-18 20:09:40 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-01 07:03:14 -0600 |
commit | a4e0ef50dae404939f14e46493a3d5c2111a9d4c (patch) | |
tree | 3753b70708d7dd21206534f99e3356574b5f6f10 /include/clk-uclass.h | |
parent | a1e4adee99355a348806fda1a3cc48af15ee79bc (diff) | |
download | u-boot-a4e0ef50dae404939f14e46493a3d5c2111a9d4c.tar.gz |
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 'include/clk-uclass.h')
-rw-r--r-- | include/clk-uclass.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clk-uclass.h b/include/clk-uclass.h index 07c1065495..e7ea334c60 100644 --- a/include/clk-uclass.h +++ b/include/clk-uclass.h @@ -12,7 +12,8 @@ /* See clk.h for background documentation. */ #include <clk.h> -#include <fdtdec.h> + +struct ofnode_phandle_args; /** * struct clk_ops - The functions that a clock driver must implement. @@ -37,7 +38,7 @@ struct clk_ops { * @return 0 if OK, or a negative error code. */ int (*of_xlate)(struct clk *clock, - struct fdtdec_phandle_args *args); + struct ofnode_phandle_args *args); /** * request - Request a translated clock. * |