diff options
author | 2017-10-16 12:08:24 +0200 | |
---|---|---|
committer | 2017-12-23 15:46:24 +0530 | |
commit | ab41910dfd5ab8e90b6a93d8c17f39ce2dbb069d (patch) | |
tree | beb9df7238a7b2aecc22271c6d4aec9f73fbaa9b /arch/arm/mach-davinci/devices-da8xx.c | |
parent | ARM: davinci: make argument to davinci_common_init() as const (diff) | |
download | linux-dev-ab41910dfd5ab8e90b6a93d8c17f39ce2dbb069d.tar.xz linux-dev-ab41910dfd5ab8e90b6a93d8c17f39ce2dbb069d.zip |
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>
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
0 files changed, 0 insertions, 0 deletions