diff options
author | 2020-05-12 13:16:45 -0500 | |
---|---|---|
committer | 2020-05-26 19:13:05 -0700 | |
commit | d52579ce21e0f8b915cb62501789716677f9264a (patch) | |
tree | bc7239494b1cf8ffad97fcd5e92d400891446a0b /drivers/clk/socfpga/clk-pll.c | |
parent | clk: socfpga: remove clk_ops enable/disable methods (diff) | |
download | linux-d52579ce21e0f8b915cb62501789716677f9264a.tar.gz linux-d52579ce21e0f8b915cb62501789716677f9264a.tar.bz2 linux-d52579ce21e0f8b915cb62501789716677f9264a.zip |
clk: socfpga: add const to _ops data structures
All the static clk_ops data structure need a const.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lkml.kernel.org/r/20200512181647.5071-3-dinguyen@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/socfpga/clk-pll.c')
-rw-r--r-- | drivers/clk/socfpga/clk-pll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/socfpga/clk-pll.c b/drivers/clk/socfpga/clk-pll.c index a001641b2f42..e5fb786843f3 100644 --- a/drivers/clk/socfpga/clk-pll.c +++ b/drivers/clk/socfpga/clk-pll.c @@ -65,7 +65,7 @@ static u8 clk_pll_get_parent(struct clk_hw *hwclk) CLK_MGR_PLL_CLK_SRC_MASK; } -static struct clk_ops clk_pll_ops = { +static const struct clk_ops clk_pll_ops = { .recalc_rate = clk_pll_recalc_rate, .get_parent = clk_pll_get_parent, }; |