summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-lager.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-08-01 18:34:37 -0700
committerSimon Horman <horms+renesas@verge.net.au>2013-08-06 09:53:56 +0900
commit8c8881b50691e17864cc54e5824b140e62fc2035 (patch)
tree6f9813b5e7b9cffb6571cf14c72447d6c33a62fe /arch/arm/mach-shmobile/board-lager.c
parent23f1751c5fef5c33e6a58ed2448774aeae436a39 (diff)
downloadblackbird-op-linux-8c8881b50691e17864cc54e5824b140e62fc2035.tar.gz
blackbird-op-linux-8c8881b50691e17864cc54e5824b140e62fc2035.zip
ARM: shmobile: lager: 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>
Diffstat (limited to 'arch/arm/mach-shmobile/board-lager.c')
-rw-r--r--arch/arm/mach-shmobile/board-lager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
index 3c67b2ad4494..9489314338a6 100644
--- a/arch/arm/mach-shmobile/board-lager.c
+++ b/arch/arm/mach-shmobile/board-lager.c
@@ -82,11 +82,11 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] =
};
/* MMCIF */
-static struct sh_mmcif_plat_data mmcif1_pdata = {
+static struct sh_mmcif_plat_data mmcif1_pdata __initdata = {
.caps = MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
};
-static struct resource mmcif1_resources[] = {
+static struct resource mmcif1_resources[] __initdata = {
DEFINE_RES_MEM_NAMED(0xee220000, 0x80, "MMCIF1"),
DEFINE_RES_IRQ(gic_spi(170)),
};
OpenPOWER on IntegriCloud