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>
This commit is contained in:
Heiko Stuebner 2015-12-04 18:04:44 +01:00
parent 9def7ccfe8
commit 26dc88fbb9
1 changed files with 1 additions and 1 deletions

View File

@ -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