ARM: shmobile: marzen: fixup smsc911x id for regulator
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 30 Aug 2012 01:58:01 +0000 (18:58 -0700)
committerSimon Horman <horms@verge.net.au>
Thu, 30 Aug 2012 05:10:08 +0000 (14:10 +0900)
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>
arch/arm/mach-shmobile/board-marzen.c

index 3a528cf..fcf5a47 100644 (file)
@@ -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,
        },