Skip to contentSkip to conversation

ARM: Overo: Fix smsc911x platform device resource value

PATCH New Aguirre Rodriguez, Sergio Alberto 2 participants 2 messages Jul 29, 2009 – Aug 5, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: Overo: Fix smsc911x platform device resource value

Quoted 1 line

From 7a35b843689937256399ece6ef807d43b6e9296a Mon Sep 17 00:00:00 2001

From: Sergio Aguirre <[email protected]>
Date: Wed, 29 Jul 2009 16:30:46 -0500
Subject: [PATCH] ARM: 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 <[email protected]>
	Date:   Mon Feb 2 06:27:49 2009 +0000

	    ARM: Add SMSC911X support to Overo platform (V2)
---
 arch/arm/mach-omap2/board-overo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-overo.c +1 -1
index 501d020..7e54713 100644
@@ -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,
 	},
Signature · 1 line
1.6.3.2

From 7a35b843689937256399ece6ef807d43b6e9296a Mon Sep 17 00:00:00 2001
From: Sergio Aguirre <[email protected]>
Date: Wed, 29 Jul 2009 16:30:46 -0500
Subject: [PATCH] ARM: 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 <[email protected]>
	Date:   Mon Feb 2 06:27:49 2009 +0000

	    ARM: Add SMSC911X support to Overo platform (V2)
---
 arch/arm/mach-omap2/board-overo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/board-overo.c +1 -1
index 501d020..7e54713 100644
@@ -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,
 	},
Signature · 1 line
1.6.3.2
maintainer
#1 lore raw

PATCH 1/1 ARM: Overo: Fix smsc911x platform device resource value

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: omap-fixes

Initial commit ID (Likely to change): 8a333860f6d99652489c3b0fd3761d73d9af8bcf

PatchWorks
http://patchwork.kernel.org/patch/38244/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=8a333860f6d99652489c3b0fd3761d73d9af8bcf