diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-22 15:52:47 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-11-02 07:25:43 +0100 |
commit | ed3f2d12213b3d13ca0b941199c250c66a318b72 (patch) | |
tree | 01272449c9049763e327ef7a6240bef256f466a8 /drivers/clk/mxs/clk-frac.c | |
parent | clk: sirf: make clk_ops const (diff) | |
download | linux-ed3f2d12213b3d13ca0b941199c250c66a318b72.tar.xz linux-ed3f2d12213b3d13ca0b941199c250c66a318b72.zip |
clk: mxs: 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>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/clk/mxs/clk-frac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mxs/clk-frac.c b/drivers/clk/mxs/clk-frac.c index f8dd10f6df3d..27b3372adc37 100644 --- a/drivers/clk/mxs/clk-frac.c +++ b/drivers/clk/mxs/clk-frac.c @@ -107,7 +107,7 @@ static int clk_frac_set_rate(struct clk_hw *hw, unsigned long rate, return mxs_clk_wait(frac->reg, frac->busy); } -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, |