summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/apll.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-22 18:41:15 +0530
committerStephen Boyd <sboyd@codeaurora.org>2017-08-23 15:53:25 -0700
commit7cc566a821a0e0999209a256b80375d08db2840c (patch)
tree5c5b199add8a95952ebf6c73766d5f6f82be5805 /drivers/clk/ti/apll.c
parent535b1100d169589f095165c75918ad398943cc76 (diff)
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>
Diffstat (limited to 'drivers/clk/ti/apll.c')
-rw-r--r--drivers/clk/ti/apll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/apll.c b/drivers/clk/ti/apll.c
index 06f486b3488c..83b148f8037c 100644
--- a/drivers/clk/ti/apll.c
+++ b/drivers/clk/ti/apll.c
@@ -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,