diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-22 16:14:50 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-02 09:24:37 +0300 |
commit | ba3892df525b9ff203d0ad116a41306bf5081215 (patch) | |
tree | d6fc09f0656c5ea8a738fca12728684a743387f3 /drivers/clk/spear/clk-frac-synth.c | |
parent | 37d2f45d940bfdd7c9a5323f3d3462bea3a3e957 (diff) | |
download | linux-ba3892df525b9ff203d0ad116a41306bf5081215.tar.xz |
clk: spear: make clk_ops const
Make these const as they are only stored in the const field of a
clk_init_data structure.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/spear/clk-frac-synth.c')
-rw-r--r-- | drivers/clk/spear/clk-frac-synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/clk-frac-synth.c b/drivers/clk/spear/clk-frac-synth.c index 58d678b5b40a..eaf970bda5d9 100644 --- a/drivers/clk/spear/clk-frac-synth.c +++ b/drivers/clk/spear/clk-frac-synth.c @@ -116,7 +116,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long drate, return 0; } -static struct clk_ops clk_frac_ops = { +static const struct clk_ops clk_frac_ops = { .recalc_rate = clk_frac_recalc_rate, .round_rate = clk_frac_round_rate, .set_rate = clk_frac_set_rate, |