diff options
author | 2017-08-28 12:32:41 +0530 | |
---|---|---|
committer | 2017-08-30 22:27:49 -0700 | |
commit | 56d877764112af89aebb17e831c579827f006df0 (patch) | |
tree | 563062138ce0eab0055b66ac6b0f33f8267ee05e /drivers/clk/clk-gemini.c | |
parent | clk: ux500: sysctrl: constify clk_ops. (diff) | |
download | wireguard-linux-56d877764112af89aebb17e831c579827f006df0.tar.xz wireguard-linux-56d877764112af89aebb17e831c579827f006df0.zip |
clk: ux500: prcc: 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_prcc" is used to initialized clk_init_data.
clk_init_data is working with const clk_ops. So make clk_reg_prcc
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/clk/clk-gemini.c')
0 files changed, 0 insertions, 0 deletions