aboutsummaryrefslogtreecommitdiff
path: root/include/linux/of_clk.h
AgeCommit message (Collapse)AuthorFilesLines
2018-05-02clk: Extract OF clock helpers in <linux/of_clk.h>Geert Uytterhoeven1-0/+30
The use of of_clk_get_parent_{count,name}() and of_clk_init() is not limited to clock providers. Hence move these helpers into their own header file, so callers that are not clock providers no longer have to include <linux/clk-provider.h>. Suggested-by: Stephen Boyd <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>