| From b075ceed35a3ff05a258e026669ecf7018204726 Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Thu, 1 Aug 2013 18:33:38 -0700 |
| Subject: 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> |
| (cherry picked from commit c7537655c6ce1d769bd6d4ec368cdf8c36ebb6ea) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/setup-r8a7779.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c |
| index 111e953a..f0b6c7de 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7779.c |
| +++ b/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, |
| -- |
| 1.8.4.3.gca3854a |
| |