aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-gate.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-27 03:23:22 -0400
committerMike Turquette <mturquette@linaro.org>2012-04-24 19:37:38 -0400
commit822c250e154cd44cf60a4f0d647aa70abea09520 (patch)
treee23420400357585a3ab0cdbacd2c8d8b9605efd2 /drivers/clk/clk-gate.c
parentc0d2530c03cbf3741cb7a0f8ebae93e7a563fc58 (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-gate.c')
-rw-r--r--drivers/clk/clk-gate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-gate.c b/drivers/clk/clk-gate.c
index b688f4775859..fe2ff9e774c2 100644
--- a/drivers/clk/clk-gate.c
+++ b/drivers/clk/clk-gate.c
@@ -98,7 +98,7 @@ static int clk_gate_is_enabled(struct clk_hw *hw)
98 return reg ? 1 : 0; 98 return reg ? 1 : 0;
99} 99}
100 100
101struct clk_ops clk_gate_ops = { 101const struct clk_ops clk_gate_ops = {
102 .enable = clk_gate_enable, 102 .enable = clk_gate_enable,
103 .disable = clk_gate_disable, 103 .disable = clk_gate_disable,
104 .is_enabled = clk_gate_is_enabled, 104 .is_enabled = clk_gate_is_enabled,