Commit 2c606871 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Stephen Boyd

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: default avatarBhumika Goyal <bhumirks@gmail.com>
Acked-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent daeeb438
......@@ -61,7 +61,7 @@ static int vexpress_osc_set_rate(struct clk_hw *hw, unsigned long rate,
return regmap_write(osc->reg, 0, rate);
}
static struct clk_ops vexpress_osc_ops = {
static const struct clk_ops vexpress_osc_ops = {
.recalc_rate = vexpress_osc_recalc_rate,
.round_rate = vexpress_osc_round_rate,
.set_rate = vexpress_osc_set_rate,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment