diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-01-25 14:33:07 +0300 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-02-01 23:17:30 +0300 |
commit | 567fdd9d91db09c0af563930253ef9dbb28ddb5b (patch) | |
tree | bf93fc4a9892ee9e62722e2bb3a6adc3eb90ca75 /arch/arm/mach-realview | |
parent | 047a555f95fec4bcb8adfc37eb6fb1026fb3026a (diff) | |
download | linux-567fdd9d91db09c0af563930253ef9dbb28ddb5b.tar.xz |
ARM: realview: use const and __initconst for smp_operations
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 <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r-- | arch/arm/mach-realview/platsmp-dt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/platsmp-dt.c b/arch/arm/mach-realview/platsmp-dt.c index 65585392655b..6964e8876061 100644 --- a/arch/arm/mach-realview/platsmp-dt.c +++ b/arch/arm/mach-realview/platsmp-dt.c @@ -80,7 +80,7 @@ static void __init realview_smp_prepare_cpus(unsigned int max_cpus) virt_to_phys(versatile_secondary_startup)); } -struct smp_operations realview_dt_smp_ops __initdata = { +static const struct smp_operations realview_dt_smp_ops __initconst = { .smp_prepare_cpus = realview_smp_prepare_cpus, .smp_secondary_init = versatile_secondary_init, .smp_boot_secondary = versatile_boot_secondary, |