ARM: 3ds_debugboard: Fix smsc911x driver probe
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 26 Mar 2012 18:53:57 +0000 (15:53 -0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 2 Apr 2012 09:15:15 +0000 (11:15 +0200)
Fix smsc911x id field in order to fix smsc911x driver probe error:

smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
smsc911x smsc911x.0: (unregistered net_device): couldn't get regulators -517
platform smsc911x.0: Driver smsc911x requests probe deferral

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/3ds_debugboard.c

index d1e31fa1b0c3435a40a2039e592de72a6ee023af..5cac2c540f4f86b6d73ecd5b24617e4ee9b27705 100644 (file)
@@ -80,7 +80,7 @@ static struct smsc911x_platform_config smsc911x_config = {
 
 static struct platform_device smsc_lan9217_device = {
        .name = "smsc911x",
-       .id = 0,
+       .id = -1,
        .dev = {
                .platform_data = &smsc911x_config,
        },