summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2015-12-04 18:04:44 +0100
committerHeiko Stuebner <heiko@sntech.de>2015-12-16 22:15:05 +0100
commit26dc88fbb937e61988d86af92ca57544cc2a2087 (patch)
tree512bb2692d692501bee504a16e9270b4cbd54ab0 /arch/arm/mach-rockchip
parent9def7ccfe8d5b84d382cff83553dd6db72f61a23 (diff)
downloadlinux-26dc88fbb937e61988d86af92ca57544cc2a2087.tar.gz
linux-26dc88fbb937e61988d86af92ca57544cc2a2087.tar.bz2
linux-26dc88fbb937e61988d86af92ca57544cc2a2087.zip
ARM: rockchip: use const and __initconst for rk3036 smp_operations
The newly added rk3036 smp operations missed the wholesale fixup from Masahiro Yamada. So fix that now. Reported-by: Mark Brown <broonie@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/mach-rockchip')
-rw-r--r--arch/arm/mach-rockchip/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c
index 5c138f9699f9..9a5b2e0502f3 100644
--- a/arch/arm/mach-rockchip/platsmp.c
+++ b/arch/arm/mach-rockchip/platsmp.c
@@ -351,7 +351,7 @@ static void rockchip_cpu_die(unsigned int cpu)
}
#endif
-static struct smp_operations rk3036_smp_ops __initdata = {
+static const struct smp_operations rk3036_smp_ops __initconst = {
.smp_prepare_cpus = rk3036_smp_prepare_cpus,
.smp_boot_secondary = rockchip_boot_secondary,
#ifdef CONFIG_HOTPLUG_CPU