]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: use const and __initconst for smp_operations
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Nov 2015 01:39:53 +0000 (10:39 +0900)
committerArnd Bergmann <arnd@arndb.de>
Tue, 1 Dec 2015 21:17:45 +0000 (22:17 +0100)
commit75305275a721d33ae9abfaeed2817cec8b2fee9a
tree260c042565cc39c539cb41482ebe395c38829966
parent635e958dad5639102fcf8acf2d8feb6a80c6e689
ARM: use const and __initconst for smp_operations

These smp_operations structures are not over-written, so add "const"
qualifier and replace __initdata with __initconst.

Also, add "static" where it is possible.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org> # qcom part
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Wei Xu <xuwei5@hisilicon.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
54 files changed:
arch/arm/common/mcpm_platsmp.c
arch/arm/include/asm/psci.h
arch/arm/kernel/psci_smp.c
arch/arm/mach-alpine/platsmp.c
arch/arm/mach-axxia/platsmp.c
arch/arm/mach-bcm/bcm63xx_smp.c
arch/arm/mach-bcm/kona_smp.c
arch/arm/mach-bcm/platsmp-brcmstb.c
arch/arm/mach-berlin/platsmp.c
arch/arm/mach-exynos/common.h
arch/arm/mach-exynos/platsmp.c
arch/arm/mach-hisi/platmcpm.c
arch/arm/mach-hisi/platsmp.c
arch/arm/mach-imx/common.h
arch/arm/mach-imx/platsmp.c
arch/arm/mach-keystone/keystone.h
arch/arm/mach-keystone/platsmp.c
arch/arm/mach-mediatek/platsmp.c
arch/arm/mach-mvebu/armada-370-xp.h
arch/arm/mach-mvebu/platsmp-a9.c
arch/arm/mach-mvebu/platsmp.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/omap-smp.c
arch/arm/mach-prima2/common.h
arch/arm/mach-prima2/platsmp.c
arch/arm/mach-qcom/platsmp.c
arch/arm/mach-realview/core.h
arch/arm/mach-realview/platsmp.c
arch/arm/mach-rockchip/platsmp.c
arch/arm/mach-shmobile/r8a7779.h
arch/arm/mach-shmobile/r8a7790.h
arch/arm/mach-shmobile/r8a7791.h
arch/arm/mach-shmobile/setup-emev2.c
arch/arm/mach-shmobile/sh73a0.h
arch/arm/mach-shmobile/smp-emev2.c
arch/arm/mach-shmobile/smp-r8a7779.c
arch/arm/mach-shmobile/smp-r8a7790.c
arch/arm/mach-shmobile/smp-r8a7791.c
arch/arm/mach-shmobile/smp-sh73a0.c
arch/arm/mach-socfpga/platsmp.c
arch/arm/mach-spear/generic.h
arch/arm/mach-spear/platsmp.c
arch/arm/mach-sti/platsmp.c
arch/arm/mach-sti/smp.h
arch/arm/mach-sunxi/platsmp.c
arch/arm/mach-tegra/common.h
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-uniphier/platsmp.c
arch/arm/mach-ux500/platsmp.c
arch/arm/mach-vexpress/core.h
arch/arm/mach-vexpress/platsmp.c
arch/arm/mach-zx/platsmp.c
arch/arm/mach-zynq/common.h
arch/arm/mach-zynq/platsmp.c