From: Kuninori Morimoto Date: Fri, 2 Aug 2013 01:33:38 +0000 (-0700) Subject: ARM: shmobile: r8a7779: add missing __initdata X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7537655c6ce1d769bd6d4ec368cdf8c36ebb6ea;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c index 111e953aba2b..f0b6c7dea2f0 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,