Skip to content
Commit ff69a4c8 authored by Russell King's avatar Russell King
Browse files

ARM: constify machine_desc structure uses



struct machine_desc records are defined everywhere as a 'const'
structure, but unfortuantely it loses its const-ness through the use of
linker magic - the symbols which surround the section are not declared
const so it becomes possible not to use 'const' for pointers to these
const structures.

Let's fix this oversight - all pointers to these structures should be
marked const too.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 3b2f64d0
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