]> Git Repo - linux.git/commitdiff
ARM: bcm: use const and __initconst for smp_operations
authorMasahiro Yamada <[email protected]>
Mon, 25 Jan 2016 11:31:15 +0000 (20:31 +0900)
committerFlorian Fainelli <[email protected]>
Mon, 1 Feb 2016 21:11:13 +0000 (13:11 -0800)
This newly added code missed the global fixup by commit 75305275a721
("ARM: use const and __initconst for smp_operations").  So fix it now.

Also, add missing "static" qualifier.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
arch/arm/mach-bcm/platsmp.c

index 575defcc53f932f9af463805dc88cf327802df2e..cfae9c71fb7415e82e956952cf3f9d5431625982 100644 (file)
@@ -283,7 +283,7 @@ static const struct smp_operations bcm_smp_ops __initconst = {
 CPU_METHOD_OF_DECLARE(bcm_smp_bcm281xx, "brcm,bcm11351-cpu-method",
                        &bcm_smp_ops);
 
-struct smp_operations nsp_smp_ops __initdata = {
+static const struct smp_operations nsp_smp_ops __initconst = {
        .smp_prepare_cpus       = bcm_smp_prepare_cpus,
        .smp_boot_secondary     = nsp_boot_secondary,
 };
This page took 0.056421 seconds and 4 git commands to generate.