diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2015-03-11 06:34:25 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-05-13 09:17:08 -0400 |
commit | 42c86547f4e5c2e81616c76ce9a2badce515c41f (patch) | |
tree | b95a89f8eacfe6ec20ea7efe9c538161d8977d1d /include/linux/clk-provider.h | |
parent | 07aaa0e5632d3434d1a8e88f0db0bee1c84eb1d7 (diff) |
clk: Expose clk_hw_reparent() to providers
To be used by clock implementations for switching to a new parent during
rate change.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r-- | include/linux/clk-provider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index df695313f975..51efb9ec3e37 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h | |||
@@ -589,6 +589,7 @@ long __clk_mux_determine_rate_closest(struct clk_hw *hw, unsigned long rate, | |||
589 | unsigned long max_rate, | 589 | unsigned long max_rate, |
590 | unsigned long *best_parent_rate, | 590 | unsigned long *best_parent_rate, |
591 | struct clk_hw **best_parent_p); | 591 | struct clk_hw **best_parent_p); |
592 | void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent); | ||
592 | 593 | ||
593 | static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src) | 594 | static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src) |
594 | { | 595 | { |