ARM: shmobile: mackerel: Make domain_devices[] static __initdata
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2014 13:26:18 +0000 (15:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:02:02 +0000 (10:02 +0900)
commit30ed698fd55263c2e5e3ed0f7aadd669be9c198a
treead30520033ddb1e3a7e7ad5bc593b774602a297a
parent69b1aaa0bd23e9df700a60df823126e1cad60da8
ARM: shmobile: mackerel: 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>
(cherry picked from commit d6dc6ed8540ab8802c6ba31b4292204dd3cb0fee)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-mackerel.c