]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: lager: add missing __initdata
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 2 Aug 2013 01:34:37 +0000 (18:34 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Aug 2013 00:53:56 +0000 (09:53 +0900)
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>
arch/arm/mach-shmobile/board-lager.c

index 3c67b2ad44943ed1a85c8da1760d0a6171a52a96..9489314338a62475214dbc3b2e49207b26bc4408 100644 (file)
@@ -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)),
 };