ARM: shmobile: ape6evm: add "__initconst" annotations where needed
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 31 Jul 2013 12:40:14 +0000 (14:40 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 1 Aug 2013 10:04:41 +0000 (19:04 +0900)
commit23f1751c5fef5c33e6a58ed2448774aeae436a39
tree71b6e82d7c14b397f40d37997b4953cd73c44777
parentf79d68da510bf1b95beff4d556b78d06801f11dc
ARM: shmobile: ape6evm: add "__initconst" annotations where needed

This patch adds __initconst markers to the platform data and resources,
used on ape6evm as parameters to platform_device_register_resndata().
The data is duplicated inside that function, therefore original data
can be discarded after initialisation is completed.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-ape6evm.c