From 7423daa60eb30b6613dfc19a51c55de23fd4d703 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 4 Jul 2016 11:58:03 -0600 Subject: dm: clk: Add support for of-platdata Add support for this feature in the core clock code. Signed-off-by: Simon Glass --- include/clk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/clk.h') 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. * -- cgit v1.2.3