From patchwork Wed Jul 29 21:44:06 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aguirre Rodriguez, Sergio Alberto" X-Patchwork-Id: 38244 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6TLltdQ007502 for ; Wed, 29 Jul 2009 21:47:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbZG2Vq6 (ORCPT ); Wed, 29 Jul 2009 17:46:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753253AbZG2Vq6 (ORCPT ); Wed, 29 Jul 2009 17:46:58 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:52343 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753178AbZG2Vq5 (ORCPT ); Wed, 29 Jul 2009 17:46:57 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n6TLkpCi030076; Wed, 29 Jul 2009 16:46:56 -0500 Received: from dlep20.itg.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n6TLkpGg009448; Wed, 29 Jul 2009 16:46:51 -0500 (CDT) Received: from dlee75.ent.ti.com (localhost [127.0.0.1]) by dlep20.itg.ti.com (8.12.11/8.12.11) with ESMTP id n6TLkpav024979; Wed, 29 Jul 2009 16:46:51 -0500 (CDT) Received: from dlee02.ent.ti.com ([157.170.170.17]) by dlee75.ent.ti.com ([157.170.170.72]) with mapi; Wed, 29 Jul 2009 16:46:51 -0500 From: "Aguirre Rodriguez, Sergio Alberto" To: "linux-omap@vger.kernel.org" CC: Steve Sakoman Date: Wed, 29 Jul 2009 16:44:06 -0500 Subject: [PATCH] ARM: Overo: Fix smsc911x platform device resource value Thread-Topic: [PATCH] ARM: Overo: Fix smsc911x platform device resource value Thread-Index: AQHKEJYUz9gD0DIvgkaegVHjmfmZsA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From 7a35b843689937256399ece6ef807d43b6e9296a Mon Sep 17 00:00:00 2001 From: Sergio Aguirre 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 Date: Mon Feb 2 06:27:49 2009 +0000 ARM: Add SMSC911X support to Overo platform (V2) Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-overo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) From 7a35b843689937256399ece6ef807d43b6e9296a Mon Sep 17 00:00:00 2001 From: Sergio Aguirre 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 Date: Mon Feb 2 06:27:49 2009 +0000 ARM: Add SMSC911X support to Overo platform (V2) Signed-off-by: Sergio Aguirre --- arch/arm/mach-omap2/board-overo.c | 2 +- 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 501d020..7e54713 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 = { .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, }, -- 1.6.3.2