diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2017-12-19 16:54:44 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-02-12 13:50:37 +0100 |
commit | 707aa45d2612778e2f3b6c5e1950ed9fa48974aa (patch) | |
tree | 04c54896f1448d10236a799b30fa444e6c83327f /drivers | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-707aa45d2612778e2f3b6c5e1950ed9fa48974aa.tar.gz linux-707aa45d2612778e2f3b6c5e1950ed9fa48974aa.tar.bz2 linux-707aa45d2612778e2f3b6c5e1950ed9fa48974aa.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/renesas/rcar-sysc.c | 2 |
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: pm_genpd_init(genpd, gov, false); } -static const struct of_device_id rcar_sysc_matches[] = { +static const struct of_device_id rcar_sysc_matches[] __initconst = { #ifdef CONFIG_SYSC_R8A7743 { .compatible = "renesas,r8a7743-sysc", .data = &r8a7743_sysc_info }, #endif |