mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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>
This commit is contained in:
parent
daeeb438c0
commit
2c606871f3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user