From 1b0d09cddb6d6b4d30f561dc8e4fb2ce904a5b58 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Wed, 31 Jul 2019 07:01:31 +0000 Subject: [PATCH] clk: export mux/divider ops Export mux/divider ops and divider_recalc_rate for composite usage Signed-off-by: Peng Fan --- include/linux/clk-provider.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 7e44045..6d62f86 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -96,6 +96,11 @@ struct clk_divider { #define CLK_DIVIDER_ROUND_CLOSEST BIT(4) #define CLK_DIVIDER_READ_ONLY BIT(5) #define CLK_DIVIDER_MAX_AT_ZERO BIT(6) +extern const struct clk_ops clk_divider_ops; +unsigned long divider_recalc_rate(struct clk *hw, unsigned long parent_rate, + unsigned int val, + const struct clk_div_table *table, + unsigned long flags, unsigned long width); struct clk_fixed_factor { struct clk clk; -- 2.7.4