]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/512x: Constify clk_div_tables
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 28 Aug 2017 06:05:15 +0000 (11:35 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:06 +0000 (14:26 +1000)
commitf85bd3d8ddd24ed244a700e52b1e886b145dcf95
tree59c8332ad868280b3a99a598056eecae3c090c93
parentbf0227547e2abbe78ee88728de43b68a2a3f4704
powerpc/512x: Constify clk_div_tables

clk_div_tables are not supposed to change at runtime.
mpc512x_clk_divtable function working with const clk_div_table. So
mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/512x/clock-commonclk.c