ARM: tango: use const and __initconst for smp_operations
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 25 Jan 2016 11:33:42 +0000 (20:33 +0900)
committerOlof Johansson <olof@lixom.net>
Mon, 1 Feb 2016 20:18:23 +0000 (12:18 -0800)
This newly added code missed the global fixup by commit 75305275a721
("ARM: use const and __initconst for smp_operations").  So fix it now.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-tango/platsmp.c

index a18d5a34e2f5738e4f62bd24bf8a0b9edff7a3e8..a21f55e000d258c734535cbfc9df57744599887a 100644 (file)
@@ -9,7 +9,7 @@ static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle)
        return 0;
 }
 
-static struct smp_operations tango_smp_ops __initdata = {
+static const struct smp_operations tango_smp_ops __initconst = {
        .smp_boot_secondary     = tango_boot_secondary,
 };