Skip to content

Commit

Permalink
ARM: shmobile: r8a7779: 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 13eb604 commit c753765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/setup-r8a7779.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c753765

Please sign in to comment.