diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-29 09:26:19 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-09-08 22:15:57 -0400 |
commit | 9eda01b2f665d8bf29f6ac93e3db403290e0f3cf (patch) | |
tree | ca193023415b30918c77110dc5e11e064f6c8a98 /arch/arm/mach-shmobile | |
parent | d6dc6ed8540ab8802c6ba31b4292204dd3cb0fee (diff) |
ARM: shmobile: sh7372: Make domain_devices[] static __initdata
Make the domain_devices[] array static and __initdata, to reduce kernel
size:
- Making it static gets rid of the code to copy the data to the stack,
- Marking it __initdata allows more init memory to be freed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index 9cdfcdfd38fc..a04fa5fd00fd 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -927,7 +927,7 @@ static struct platform_device *sh7372_late_devices[] __initdata = { | |||
927 | 927 | ||
928 | void __init sh7372_add_standard_devices(void) | 928 | void __init sh7372_add_standard_devices(void) |
929 | { | 929 | { |
930 | struct pm_domain_device domain_devices[] = { | 930 | static struct pm_domain_device domain_devices[] __initdata = { |
931 | { "A3RV", &vpu_device, }, | 931 | { "A3RV", &vpu_device, }, |
932 | { "A4MP", &spu0_device, }, | 932 | { "A4MP", &spu0_device, }, |
933 | { "A4MP", &spu1_device, }, | 933 | { "A4MP", &spu1_device, }, |