aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-22 10:06:26 -0400
committerStephen Boyd <sboyd@codeaurora.org>2017-08-31 01:38:59 -0400
commit2c606871f3d8e3cfd4a079081a7cd9aabdbba99a (patch)
treef9136998e162f485f7cb87399326674399528081
parentdaeeb438c052e3763617c636943e07a8f3684e9e (diff)
clk: versatile: make clk_ops const
Make this const as it is only stored in the const field of a clk_init_data structure. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Acked-by: Liviu Dudau <Liviu.Dudau@arm.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r--drivers/clk/versatile/clk-vexpress-osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/versatile/clk-vexpress-osc.c b/drivers/clk/versatile/clk-vexpress-osc.c
index 7e5add7d7752..e7a868b83fe5 100644
--- a/drivers/clk/versatile/clk-vexpress-osc.c
+++ b/drivers/clk/versatile/clk-vexpress-osc.c
@@ -61,7 +61,7 @@ static int vexpress_osc_set_rate(struct clk_hw *hw, unsigned long rate,
61 return regmap_write(osc->reg, 0, rate); 61 return regmap_write(osc->reg, 0, rate);
62} 62}
63 63
64static struct clk_ops vexpress_osc_ops = { 64static const struct clk_ops vexpress_osc_ops = {
65 .recalc_rate = vexpress_osc_recalc_rate, 65 .recalc_rate = vexpress_osc_recalc_rate,
66 .round_rate = vexpress_osc_round_rate, 66 .round_rate = vexpress_osc_round_rate,
67 .set_rate = vexpress_osc_set_rate, 67 .set_rate = vexpress_osc_set_rate,