ARM: shmobile: sh7372: Make domain_devices[] static __initdata
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:26:19 +0000 (15:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 9 Sep 2014 02:15:57 +0000 (11:15 +0900)
commit9eda01b2f665d8bf29f6ac93e3db403290e0f3cf
treeca193023415b30918c77110dc5e11e064f6c8a98
parentd6dc6ed8540ab8802c6ba31b4292204dd3cb0fee
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>
arch/arm/mach-shmobile/setup-sh7372.c