]> 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)
commit881c52148a0732674933b70c1b1ed073e1b754fa
tree59c8332ad868280b3a99a598056eecae3c090c93
parentf6b784b418ef86cb536aa057bec6e04b1b2fa22c
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