Skip to content
Commit ab41910d authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Sekhar Nori
Browse files

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: default avatarBhumika Goyal <bhumirks@gmail.com>
[nsekhar@ti.com: minor commit message adjustment]
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 1a6d490b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment