]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/arm/mach-shmobile/smp-r8a7790.c
ARM: use const and __initconst for smp_operations
[mirror_ubuntu-bionic-kernel.git] / arch / arm / mach-shmobile / smp-r8a7790.c
index 4b33d432a364085983afab3ebc481f75b6d141a2..f6426c6fdefcb489e08dd2c69e47c16d5fc22d59 100644 (file)
@@ -60,7 +60,7 @@ static void __init r8a7790_smp_prepare_cpus(unsigned int max_cpus)
        rcar_sysc_power_up(&r8a7790_ca7_scu);
 }
 
-struct smp_operations r8a7790_smp_ops __initdata = {
+const struct smp_operations r8a7790_smp_ops __initconst = {
        .smp_prepare_cpus       = r8a7790_smp_prepare_cpus,
        .smp_boot_secondary     = shmobile_smp_apmu_boot_secondary,
 #ifdef CONFIG_HOTPLUG_CPU