Browse Source

ARM: shmobile: r8a7779: add missing __initdata

This patch adds missing __initdata to driver data/resource
which are used from platform_device_register_xxx()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Kuninori Morimoto 12 years ago
parent
commit
c7537655c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-shmobile/setup-r8a7779.c

+ 1 - 1
arch/arm/mach-shmobile/setup-r8a7779.c

@@ -537,7 +537,7 @@ static struct platform_device ohci1_device = {
 };
 
 /* Ether */
-static struct resource ether_resources[] = {
+static struct resource ether_resources[] __initdata = {
 	{
 		.start	= 0xfde00000,
 		.end	= 0xfde003ff,