Skip to content

Commit

Permalink
ARM: shmobile: lager: add missing __initdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Aug 6, 2013
1 parent 23f1751 commit 8c8881b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-shmobile/board-lager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
};
Expand Down

0 comments on commit 8c8881b

Please sign in to comment.