ソースを参照

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 年 前
コミット
c7537655c6
1 ファイル変更1 行追加1 行削除
  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,