Commit 26dc88fb authored by Heiko Stuebner's avatar Heiko Stuebner

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: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 9def7ccf
...@@ -351,7 +351,7 @@ static void rockchip_cpu_die(unsigned int cpu) ...@@ -351,7 +351,7 @@ static void rockchip_cpu_die(unsigned int cpu)
} }
#endif #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_prepare_cpus = rk3036_smp_prepare_cpus,
.smp_boot_secondary = rockchip_boot_secondary, .smp_boot_secondary = rockchip_boot_secondary,
#ifdef CONFIG_HOTPLUG_CPU #ifdef CONFIG_HOTPLUG_CPU
......
Markdown is supported
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