Skip to content
Commit a529f8de authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Tony Lindgren
Browse files

ARM: OMAP2+: CM: make some pointers and function arguments as const



Make the pointer cm_ll_data of type cm_ll_data as const as it does not
modify the fields of the structure it points too.
After this change, make the argument of cm_register function as const as
it is used to initialise cm_ll_data or used inside an if condition.
Make the pointer argument of cm_unregister function as const as it is only
used inside an if condition.
Add const to the function prototypes too.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 4fbd8d19
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