clk: ti: make clk_ops const
Make these const as they are only stored in the const field of a clk_init_data structure. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Acked-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:

committed by
Stephen Boyd

parent
535b1100d1
commit
7cc566a821
@@ -304,7 +304,7 @@ static void omap2_apll_disable(struct clk_hw *hw)
|
||||
ti_clk_ll_ops->clk_writel(v, &ad->control_reg);
|
||||
}
|
||||
|
||||
static struct clk_ops omap2_apll_ops = {
|
||||
static const struct clk_ops omap2_apll_ops = {
|
||||
.enable = &omap2_apll_enable,
|
||||
.disable = &omap2_apll_disable,
|
||||
.is_enabled = &omap2_apll_is_enabled,
|
||||
|
Reference in New Issue
Block a user