From: Fabio Estevam Date: Mon, 26 Mar 2012 18:53:57 +0000 (-0300) Subject: ARM: 3ds_debugboard: Fix smsc911x driver probe X-Git-Tag: v3.4-rc2~12^2~7^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0df87541888fe3408fa71132d2b35c575586f89;p=profile%2Fivi%2Fkernel-x86-ivi.git ARM: 3ds_debugboard: Fix smsc911x driver probe 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 Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/plat-mxc/3ds_debugboard.c b/arch/arm/plat-mxc/3ds_debugboard.c index d1e31fa..5cac2c5 100644 --- a/arch/arm/plat-mxc/3ds_debugboard.c +++ b/arch/arm/plat-mxc/3ds_debugboard.c @@ -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, },