Skip to content

Commit

Permalink
ARM: 3ds_debugboard: Fix smsc911x driver probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Apr 2, 2012
1 parent 31e1a4e commit f0df875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/3ds_debugboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit f0df875

Please sign in to comment.