diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-22 18:41:15 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-08-23 15:53:25 -0700 |
commit | 7cc566a821a0e0999209a256b80375d08db2840c (patch) | |
tree | 5c5b199add8a95952ebf6c73766d5f6f82be5805 /drivers/clk/ti/adpll.c | |
parent | 535b1100d169589f095165c75918ad398943cc76 (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/adpll.c')
-rw-r--r-- | drivers/clk/ti/adpll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/adpll.c b/drivers/clk/ti/adpll.c index 255cafb18336..d5c6db446316 100644 --- a/drivers/clk/ti/adpll.c +++ b/drivers/clk/ti/adpll.c @@ -486,7 +486,7 @@ static u8 ti_adpll_get_parent(struct clk_hw *hw) return 0; } -static struct clk_ops ti_adpll_ops = { +static const struct clk_ops ti_adpll_ops = { .prepare = ti_adpll_prepare, .unprepare = ti_adpll_unprepare, .is_prepared = ti_adpll_is_prepared, |