[PATCH 2/2] ARM: use const and __initconst for smp_operations

Linus Walleij linus.walleij at linaro.org
Tue Dec 1 01:43:54 PST 2015


On Sun, Nov 15, 2015 at 2:39 AM, Masahiro Yamada
<yamada.masahiro at socionext.com> 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>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list