Skip to content

Commit

Permalink
ARM: shmobile: marzen: fixup smsc911x id for regulator
Browse files Browse the repository at this point in the history
dummy_supplies for smsc911x are registered as "smsc911x".
smsc911x driver needs id = -1

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
  • Loading branch information
Kuninori Morimoto authored and Simon Horman committed Aug 30, 2012
1 parent fea7a08 commit 497dcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/board-marzen.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static struct smsc911x_platform_config smsc911x_platdata = {

static struct platform_device eth_device = {
.name = "smsc911x",
.id = 0,
.id = -1,
.dev = {
.platform_data = &smsc911x_platdata,
},
Expand Down

0 comments on commit 497dcf6

Please sign in to comment.