clk: ux500: prcmu: constify clk_ops.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 07:02:39 +0000 (12:32 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 31 Aug 2017 05:27:00 +0000 (22:27 -0700)
commitdf4f45a00b104463d147c60a45f353879f70fc8b
tree4ae2e6f8792aa5a63a00c1a6d725ed064f02fe5b
parent69a6beab085264cdcdb9e3160b1a2ae61b2efde1
clk: ux500: prcmu: 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_prcmu" is used to initialized clk_init_data.
clk_init_data is working with const clk_ops. So make clk_reg_prcmu
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-prcmu.c