diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-28 09:02:40 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2017-08-31 07:27:23 +0200 |
commit | ca2ea4b0365324f449f83ce99d6c0a430bfe924c (patch) | |
tree | f8801950b66ff5ff239e91124450e34a8c1925e9 /drivers/spmi/spmi-pmic-arb.c | |
parent | clk: ux500: prcmu: constify clk_ops. (diff) | |
download | linux-ca2ea4b0365324f449f83ce99d6c0a430bfe924c.tar.xz linux-ca2ea4b0365324f449f83ce99d6c0a430bfe924c.zip |
clk: ux500: sysctrl: constify clk_ops.
clk_ops are not supposed to change at runtime. All functions
working with clk_ops provided by <linux/clk-provider.h> work
with const clk_ops. So mark the non-const clk_ops as const.
Here, Function "clk_reg_sysctrl" is used to initialized clk_init_data.
clk_init_data is working with const clk_ops. So make clk_reg_sysctrl
non-const clk_ops argument as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/spmi/spmi-pmic-arb.c')
0 files changed, 0 insertions, 0 deletions