aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2024-07-05 09:19:51 +0200
committerFabio Estevam <festevam@gmail.com>2024-07-06 15:39:22 -0300
commit9a827d91495171f44563db9fe4e621fea43d8178 (patch)
tree2ea058ed8a49abbd19ed237abe340d46280580cb /include/linux
parentd0e4f56c4793a24e4ee8300320fe53d627d5a234 (diff)
downloadu-boot-9a827d91495171f44563db9fe4e621fea43d8178.tar.gz
clk: clk-mux: Make public the clk_fetch_parent_index
Make public the clk_fetch_parent_index and rename it. This allow us to be reused in driver specialization Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk-provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index b8acacd49ee..59f9c241b84 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -74,6 +74,7 @@ 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);
+int clk_mux_fetch_parent_index(struct clk *clk, struct clk *parent);
/**
* clk_mux_index_to_val() - Convert the parent index to the register value