提交 8c8881b5 编写于 作者: K Kuninori Morimoto 提交者: Simon Horman

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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 23f1751c
...@@ -82,11 +82,11 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] = ...@@ -82,11 +82,11 @@ static struct regulator_consumer_supply fixed3v3_power_consumers[] =
}; };
/* MMCIF */ /* 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, .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_MEM_NAMED(0xee220000, 0x80, "MMCIF1"),
DEFINE_RES_IRQ(gic_spi(170)), DEFINE_RES_IRQ(gic_spi(170)),
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册