Commit 5032902c authored by Sergio Aguirre's avatar Sergio Aguirre Committed by Tony Lindgren

OMAP3: Overo: Fix smsc911x platform device resource value

Fixes a wrong setting of resource parameter list in
SMSC911x platform driver data structure for Overo case.

This fixes folowing warning when compiling for Overo board:

	warning: initialization from incompatible pointer type

Introduced since commit id:
	commit 172ef275
	Author: Steve Sakoman <sakoman@gmail.com>
	Date:   Mon Feb 2 06:27:49 2009 +0000

	    ARM: Add SMSC911X support to Overo platform (V2)
Signed-off-by: default avatarSergio Aguirre <saaguirre@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 370bc1fd
...@@ -146,7 +146,7 @@ static struct platform_device overo_smsc911x_device = { ...@@ -146,7 +146,7 @@ static struct platform_device overo_smsc911x_device = {
.name = "smsc911x", .name = "smsc911x",
.id = -1, .id = -1,
.num_resources = ARRAY_SIZE(overo_smsc911x_resources), .num_resources = ARRAY_SIZE(overo_smsc911x_resources),
.resource = &overo_smsc911x_resources, .resource = overo_smsc911x_resources,
.dev = { .dev = {
.platform_data = &overo_smsc911x_config, .platform_data = &overo_smsc911x_config,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment