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

2018-01-03 Thread Simon Horman
On Tue, Jan 02, 2018 at 03:50:19PM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Dec 20, 2017 at 9:25 AM, Simon Horman wrote: > > On Tue, Dec 19, 2017 at 04:54:44PM +0100, Geert Uytterhoeven wrote: ... > Thank you. > Please note this is a patch intended for your soc-for-v4.16 branch

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

2018-01-02 Thread Geert Uytterhoeven
Hi Simon, On Wed, Dec 20, 2017 at 9:25 AM, Simon Horman wrote: > 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 (ar

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

2017-12-20 Thread Simon Horman
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 m

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

2017-12-19 Thread Geert Uytterhoeven
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 --- drivers/soc/