Re: [PATCH 1/2] clk: imx: constify clk_div_table

2017-08-30 Thread Stephen Boyd
On 08/28, Arvind Yadav wrote: > clk_div_table are not supposed to change at runtime. All functions > working with clk_div_table provided by work > with const clk_div_table. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation

Re: [PATCH 1/2] clk: imx: constify clk_div_table

2017-08-28 Thread Shawn Guo
On Mon, Aug 28, 2017 at 10:58:52AM +0530, Arvind Yadav wrote: > clk_div_table are not supposed to change at runtime. All functions > working with clk_div_table provided by work > with const clk_div_table. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav Acked-by: Shawn Gu

[PATCH 1/2] clk: imx: constify clk_div_table

2017-08-27 Thread Arvind Yadav
clk_div_table are not supposed to change at runtime. All functions working with clk_div_table provided by work with const clk_div_table. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/clk/imx/clk-imx6sl.c | 6 +++--- drivers/clk/imx/clk-imx6sx.c | 6 +++--- driv