Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,