aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSergio Aguirre <saaguirre@ti.com>2009-08-10 07:49:50 -0400
committerTony Lindgren <tony@atomide.com>2009-08-10 07:49:50 -0400
commit5032902c331acc71956e47abd90d090181c5ef4a (patch)
tree3f548caa6f6a5a94aec2453cc2e0b253c0819f64 /arch/arm
parent370bc1fdefb8a30018d98aca2fdfd6b6701082e7 (diff)
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 172ef275444efa12d834fb9d1b1acdac92db47f7 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: Sergio Aguirre <saaguirre@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/board-overo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index dff5528fbfb5..fec1bb19b9ff 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -146,7 +146,7 @@ static struct platform_device overo_smsc911x_device = {
146 .name = "smsc911x", 146 .name = "smsc911x",
147 .id = -1, 147 .id = -1,
148 .num_resources = ARRAY_SIZE(overo_smsc911x_resources), 148 .num_resources = ARRAY_SIZE(overo_smsc911x_resources),
149 .resource = &overo_smsc911x_resources, 149 .resource = overo_smsc911x_resources,
150 .dev = { 150 .dev = {
151 .platform_data = &overo_smsc911x_config, 151 .platform_data = &overo_smsc911x_config,
152 }, 152 },