summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-mux.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-27 09:23:22 +0200
committerMike Turquette <mturquette@linaro.org>2012-04-25 01:37:38 +0200
commit822c250e154cd44cf60a4f0d647aa70abea09520 (patch)
treee23420400357585a3ab0cdbacd2c8d8b9605efd2 /drivers/clk/clk-mux.c
parentclk: remove unnecessary EXPORT_SYMBOL_GPL (diff)
downloadlinux-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-mux.c')
-rw-r--r--drivers/clk/clk-mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c
index 45cad61600c9..54244889a948 100644
--- a/drivers/clk/clk-mux.c
+++ b/drivers/clk/clk-mux.c
@@ -82,7 +82,7 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index)
return 0;
}
-struct clk_ops clk_mux_ops = {
+const struct clk_ops clk_mux_ops = {
.get_parent = clk_mux_get_parent,
.set_parent = clk_mux_set_parent,
};