You need to sign in or sign up before continuing.
提交 2c606871 编写于 作者: B Bhumika Goyal 提交者: 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: NBhumika Goyal <bhumirks@gmail.com>
Acked-by: NLiviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册