diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:58:03 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | 7423daa60eb30b6613dfc19a51c55de23fd4d703 (patch) | |
tree | 0122221097902d85d3e11f41d045e1a77c417e9f /include | |
parent | f24770d8124c097b7b57ccc22b67aaf02bb6e850 (diff) | |
download | u-boot-7423daa60eb30b6613dfc19a51c55de23fd4d703.tar.gz u-boot-7423daa60eb30b6613dfc19a51c55de23fd4d703.tar.xz u-boot-7423daa60eb30b6613dfc19a51c55de23fd4d703.zip |
dm: clk: Add support for of-platdata
Add support for this feature in the core clock code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/clk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clk.h b/include/clk.h index 2f31cf70e3..161bc2825f 100644 --- a/include/clk.h +++ b/include/clk.h @@ -60,6 +60,10 @@ struct clk { }; #if CONFIG_IS_ENABLED(OF_CONTROL) +struct phandle_2_cell; +int clk_get_by_index_platdata(struct udevice *dev, int index, + struct phandle_2_cell *cells, struct clk *clk); + /** * clock_get_by_index - Get/request a clock by integer index. * |