OSDN Git Service

ARM: 8423/1: add const qualifier to smp_operations member in structures
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 26 Aug 2015 06:49:12 +0000 (07:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Sep 2015 07:13:57 +0000 (08:13 +0100)
commitf460b6abdeeafd30c3ee737c843be17b1ceb38e5
tree76e1d39f3d23be43258002b05ef667e0c4aeeb78
parent4caa9dda388f34f957a9eb52b9f5ef1a8c975c7b
ARM: 8423/1: add const qualifier to smp_operations member in structures

The core framework does not modify smp_operations structures.
To clarify it, this commit adds 'const' qualifier to the 'ops'
member of struct of_cpu_method and the 'smp' member of struct
machine_desc.

This change allows each SoC code to add 'const' qualifier to its
smp_operation structure.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/arch.h
arch/arm/include/asm/smp.h