diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-27 09:23:22 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-04-25 01:37:38 +0200 |
commit | 822c250e154cd44cf60a4f0d647aa70abea09520 (patch) | |
tree | e23420400357585a3ab0cdbacd2c8d8b9605efd2 /drivers/clk/clk-divider.c | |
parent | clk: remove unnecessary EXPORT_SYMBOL_GPL (diff) | |
download | linux-822c250e154cd44cf60a4f0d647aa70abea09520.tar.xz linux-822c250e154cd44cf60a4f0d647aa70abea09520.zip |
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-divider.c')
-rw-r--r-- | drivers/clk/clk-divider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index 231cd6e89003..b1c4b02aaaf1 100644 --- a/drivers/clk/clk-divider.c +++ b/drivers/clk/clk-divider.c @@ -146,7 +146,7 @@ static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate) return 0; } -struct clk_ops clk_divider_ops = { +const struct clk_ops clk_divider_ops = { .recalc_rate = clk_divider_recalc_rate, .round_rate = clk_divider_round_rate, .set_rate = clk_divider_set_rate, |