]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
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 3a528cf4366cb6addff63fb9e7032948f71f49e2..fcf5a47f47724ccd2be52005adcef685487671a8 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,
        },