[PATCH] soc: renesas: rcar-sysc: Mark rcar_sysc_matches[] __initconst

Simon Horman horms at verge.net.au
Wed Dec 20 00:25:28 PST 2017


On Tue, Dec 19, 2017 at 04:54:44PM +0100, Geert Uytterhoeven wrote:
> rcar_sysc_matches[] is used only by rcar_sysc_pd_init(), which is
> __init.  Hence mark rcar_sysc_matches[] __initconst.
> 
> This frees another 1764 bytes (arm32/shmobile_defconfig) or 1000 bytes
> (arm64/renesas_defconfig) of memory after kernel init.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Reviewed-by: Simon Horman <simon.horman at netronome.com>



More information about the linux-arm-kernel mailing list