OSDN Git Service

clk: zte: constify clk_div_table
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 05:28:53 +0000 (10:58 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 31 Aug 2017 05:30:30 +0000 (22:30 -0700)
commit59273246b2df45feaea05e1069914f8ec2120c8c
tree209a1eb19e82b1f0ffebf4119708c6695e15a722
parentfdda6ee947cd4faf8d0d5bc4d9888f896358355d
clk: zte: constify clk_div_table

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.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/zte/clk-zx296718.c