OMAP3: Overo: Fix smsc911x platform device resource value
authorSergio Aguirre <saaguirre@ti.com>
Mon, 10 Aug 2009 11:49:50 +0000 (14:49 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Aug 2009 11:49:50 +0000 (14:49 +0300)
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>
arch/arm/mach-omap2/board-overo.c

index dff5528fbfb567fbdd661d1546c5a8cc83e09cd7..fec1bb19b9ff633ce0fd384674d4c3bc32e813eb 100644 (file)
@@ -146,7 +146,7 @@ static struct platform_device overo_smsc911x_device = {
        .name           = "smsc911x",
        .id             = -1,
        .num_resources  = ARRAY_SIZE(overo_smsc911x_resources),
-       .resource       = &overo_smsc911x_resources,
+       .resource       = overo_smsc911x_resources,
        .dev            = {
                .platform_data = &overo_smsc911x_config,
        },