diff options
author | Abhishek Sahu | 2017-12-13 19:55:32 +0530 |
---|---|---|
committer | Stephen Boyd | 2017-12-21 16:03:19 -0800 |
commit | f933d383df6b42e3262426d35593f18ff21aad57 (patch) | |
tree | 2215a4f453fbc6e75c4966bdd807b91970c787b6 /drivers/clk/qcom/clk-regmap-divider.h | |
parent | 23c68cc9683efbd08457f06fb5eacd7c8616dfae (diff) |
clk: qcom: add read-only divider operations
Some of the divider settings are preconfigured and should not
be changed by the clock framework during frequency change. This
patch adds the read-only divider operation for QCOM dividers
which is equivalent to generic divider operations in
'commit 79c6ab509558 ("clk: divider: add CLK_DIVIDER_READ_ONLY flag")'.
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/clk-regmap-divider.h')
-rw-r--r-- | drivers/clk/qcom/clk-regmap-divider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/clk-regmap-divider.h b/drivers/clk/qcom/clk-regmap-divider.h index fc4492e3a827..8c39c2703caf 100644 --- a/drivers/clk/qcom/clk-regmap-divider.h +++ b/drivers/clk/qcom/clk-regmap-divider.h @@ -25,5 +25,6 @@ struct clk_regmap_div { }; extern const struct clk_ops clk_regmap_div_ops; +extern const struct clk_ops clk_regmap_div_ro_ops; #endif |