]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/arm/mach-rockchip/platsmp.c
ARM: use const and __initconst for smp_operations
[mirror_ubuntu-bionic-kernel.git] / arch / arm / mach-rockchip / platsmp.c
index 3e7a4b761a953fc2e494afb4c89bfd2de5c477d1..938888fc55a160dc6543af8f22f6349a8661b35a 100644 (file)
@@ -340,7 +340,7 @@ static void rockchip_cpu_die(unsigned int cpu)
 }
 #endif
 
-static struct smp_operations rockchip_smp_ops __initdata = {
+static const struct smp_operations rockchip_smp_ops __initconst = {
        .smp_prepare_cpus       = rockchip_smp_prepare_cpus,
        .smp_boot_secondary     = rockchip_boot_secondary,
 #ifdef CONFIG_HOTPLUG_CPU