Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb948c08 authored by Russell King's avatar Russell King Committed by Joonwoo Park
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>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Git-commit: ff69a4c855066592f9e293cff8f54813614dd544
[joonwoop@codeaurora.org: fixed trivial merge conflict. constify some
 more code to avoid warning.]
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 6548b7f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment