[PATCH 0/2] constify clk clk_div_table

Arvind Yadav arvind.yadav.cs at gmail.com
Sun Aug 27 22:28:51 PDT 2017


clk_div_table are not supposed to change at runtime. All functions
working with clk_div_table provided by <linux/clk-provider.h> work
with const clk_div_table. So mark the non-const structs as const.

Arvind Yadav (2):
  [PATCH 1/2] clk: imx: constify clk_div_table
  [PATCH 2/2] clk: zte: constify clk_div_table

 drivers/clk/imx/clk-imx6sl.c   | 6 +++---
 drivers/clk/imx/clk-imx6sx.c   | 6 +++---
 drivers/clk/imx/clk-imx6ul.c   | 6 +++---
 drivers/clk/imx/clk-imx7d.c    | 4 ++--
 drivers/clk/imx/clk-vf610.c    | 2 +-
 drivers/clk/zte/clk-zx296718.c | 6 +++---
 6 files changed, 15 insertions(+), 15 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list