clk: ux500: sysctrl: constify clk_ops.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 07:02:40 +0000 (12:32 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 31 Aug 2017 05:27:23 +0000 (22:27 -0700)
commitca2ea4b0365324f449f83ce99d6c0a430bfe924c
treef8801950b66ff5ff239e91124450e34a8c1925e9
parentdf4f45a00b104463d147c60a45f353879f70fc8b
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>
drivers/clk/ux500/clk-sysctrl.c