aboutsummaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorPeng Fan2019-07-31 07:01:28 +0000
committerLukasz Majewski2019-07-31 09:20:51 +0200
commit4b044082c19eff716cba9e816fbb1225caaeb8a7 (patch)
treea9a63c0f590d015e27d8bcf7773242d170c3c733 /include/linux/clk-provider.h
parent5b27ff89866e36764c5e3e997bf505956ce49527 (diff)
clk: mux: add set parent support
Add set parent support for clk mux Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 43a25e9c6a8..7e44045c16d 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -66,6 +66,8 @@ struct clk_mux {
};
#define to_clk_mux(_clk) container_of(_clk, struct clk_mux, clk)
+extern const struct clk_ops clk_mux_ops;
+u8 clk_mux_get_parent(struct clk *clk);
struct clk_div_table {
unsigned int val;