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

ARM: davinci: make argument to davinci_common_init() as const



Make the function argument of the function davinci_common_init
as const as it's memory contents are only copied during a
memcpy call. So, the fields of the structure to which the argument
soc_info points to never gets modified and therefore the argument can
be made const.
Add const to the prototype too.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 3984d64a
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