ARM: davinci: make davinci_soc_info structures const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 16 Oct 2017 10:08:24 +0000 (12:08 +0200)
committerSekhar Nori <nsekhar@ti.com>
Sat, 23 Dec 2017 10:16:24 +0000 (15:46 +0530)
commitab41910dfd5ab8e90b6a93d8c17f39ce2dbb069d
treebeb9df7238a7b2aecc22271c6d4aec9f73fbaa9b
parent1a6d490b45e709ad45f4d7457acd435552698ed4
ARM: davinci: make davinci_soc_info structures const

Make davinci_soc_info structures const as they are either passed to the
function davinci_common_init having the argument as const or their field
cpu_clks of type struct clk_lookup * is passed to the function
davinci_clk_init.

So, the fields are never modified and the structures can be const.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
[nsekhar@ti.com: minor commit message adjustment]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da830.c
arch/arm/mach-davinci/da850.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c