diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-27 03:23:22 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-04-24 19:37:38 -0400 |
commit | 822c250e154cd44cf60a4f0d647aa70abea09520 (patch) | |
tree | e23420400357585a3ab0cdbacd2c8d8b9605efd2 /drivers/clk/clk-fixed-rate.c | |
parent | c0d2530c03cbf3741cb7a0f8ebae93e7a563fc58 (diff) |
clk: add "const" for clk_ops of basic clks
The clk_ops of basic clks should have "const" to match the definition
in "struct clk" and clk_register prototype.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-fixed-rate.c')
-rw-r--r-- | drivers/clk/clk-fixed-rate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index 651b06f49e15..027e47704de9 100644 --- a/drivers/clk/clk-fixed-rate.c +++ b/drivers/clk/clk-fixed-rate.c | |||
@@ -33,7 +33,7 @@ static unsigned long clk_fixed_rate_recalc_rate(struct clk_hw *hw, | |||
33 | return to_clk_fixed_rate(hw)->fixed_rate; | 33 | return to_clk_fixed_rate(hw)->fixed_rate; |
34 | } | 34 | } |
35 | 35 | ||
36 | struct clk_ops clk_fixed_rate_ops = { | 36 | const struct clk_ops clk_fixed_rate_ops = { |
37 | .recalc_rate = clk_fixed_rate_recalc_rate, | 37 | .recalc_rate = clk_fixed_rate_recalc_rate, |
38 | }; | 38 | }; |
39 | EXPORT_SYMBOL_GPL(clk_fixed_rate_ops); | 39 | EXPORT_SYMBOL_GPL(clk_fixed_rate_ops); |