aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-12-19 10:54:44 -0500
committerSimon Horman <horms+renesas@verge.net.au>2018-02-12 07:50:37 -0500
commit707aa45d2612778e2f3b6c5e1950ed9fa48974aa (patch)
tree04c54896f1448d10236a799b30fa444e6c83327f
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
soc: renesas: rcar-sysc: Mark rcar_sysc_matches[] __initconst
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@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--drivers/soc/renesas/rcar-sysc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c
index 52c25a5e2646..636872bc2416 100644
--- a/drivers/soc/renesas/rcar-sysc.c
+++ b/drivers/soc/renesas/rcar-sysc.c
@@ -254,7 +254,7 @@ finalize:
254 pm_genpd_init(genpd, gov, false); 254 pm_genpd_init(genpd, gov, false);
255} 255}
256 256
257static const struct of_device_id rcar_sysc_matches[] = { 257static const struct of_device_id rcar_sysc_matches[] __initconst = {
258#ifdef CONFIG_SYSC_R8A7743 258#ifdef CONFIG_SYSC_R8A7743
259 { .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info }, 259 { .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info },
260#endif 260#endif