Home
last modified time | relevance | path

Searched hist:"56 d877764112af89aebb17e831c579827f006df0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/ux500/
H A Dclk-prcc.cdiff 56d877764112af89aebb17e831c579827f006df0 Mon Aug 28 02:02:41 CDT 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>