[PATCH 2/2] ARM: use const and __initconst for smp_operations
Viresh Kumar
viresh.kumar at linaro.org
Tue Nov 17 21:36:36 PST 2015
On 15-11-15, 10:39, Masahiro Yamada wrote:
> 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 at socionext.com>
> Acked-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Moritz Fischer <moritz.fischer at ettus.com>
> ---
>
> arch/arm/mach-spear/generic.h | 2 +-
> arch/arm/mach-spear/platsmp.c | 2 +-
Acked-by: Viresh Kumar <viresh.kumar at linaro.org>
--
viresh
More information about the Linux-rockchip
mailing list