Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bhumika Goyal and committed by
Stephen Boyd
2c606871 daeeb438

+1 -1
+1 -1
drivers/clk/versatile/clk-vexpress-osc.c
··· 61 61 return regmap_write(osc->reg, 0, rate); 62 62 } 63 63 64 - static struct clk_ops vexpress_osc_ops = { 64 + static const struct clk_ops vexpress_osc_ops = { 65 65 .recalc_rate = vexpress_osc_recalc_rate, 66 66 .round_rate = vexpress_osc_round_rate, 67 67 .set_rate = vexpress_osc_set_rate,