OSDN Git Service

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)
commit9e2b70fbbc451cc56863644f6e7349148f7482cf
tree59c8332ad868280b3a99a598056eecae3c090c93
parent8d046759f6ad75824fdf7b9c9a3da0272ea9ea92
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