Received: from mail.onstor.com (66.201.51.107) by exch1.onstor.net
 (10.0.0.225) with Microsoft SMTP Server id 8.1.311.2; Thu, 15 Jan 2009
 06:42:21 -0800
Received: from chiesmta2-3.messageone.com ([216.203.30.55]) by mail.onstor.com
 with Microsoft SMTPSVC(6.0.3790.3959);	 Thu, 15 Jan 2009 06:42:20 -0800
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])	by
 chiesmta2-3.messageone.com (8.13.8/8.13.8) with ESMTP id n0FEgKWP016596	for
 <andy.sharp@onstor.com>; Thu, 15 Jan 2009 08:42:21 -0600
Received: from localhost.localdomain ([127.0.0.1]:56776 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP	id S21365935AbZAOOmQ
 (ORCPT <rfc822;andy.sharp@onstor.com>);	Thu, 15 Jan 2009 14:42:16 +0000
Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 15 Jan 2009 14:41:59
 +0000 (GMT)
Received: from orbit.nwl.cc ([91.121.169.95]:27086 "EHLO mail.nwl.cc")	by
 ftp.linux-mips.org with ESMTP id S21365931AbZAOOl5 (ORCPT
	<rfc822;linux-mips@linux-mips.org>); Thu, 15 Jan 2009 14:41:57 +0000
Received: from base (localhost [127.0.0.1])	by mail.nwl.cc (Postfix) with
 ESMTP id 98F404043831;	Thu, 15 Jan 2009 15:41:51 +0100 (CET)
From: Phil Sutter <n0-1@freewrt.org>
To: Linux-Mips List <linux-mips@linux-mips.org>
CC: "florian@openwrt.org" <florian@openwrt.org>, "ralf@linux-mips.org"
	<ralf@linux-mips.org>, "jeff@garzik.org" <jeff@garzik.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Thu, 15 Jan 2009 06:41:44 -0800
Subject: [PATCH] MIPS: rb532: use driver_data instead of platform_data
Thread-Topic: [PATCH] MIPS: rb532: use driver_data instead of platform_data
Thread-Index: Acl3H3lXS0Zx08x6R+udLI499sAIMQ==
Message-ID: <20090115144151.98F404043831@mail.nwl.cc>
References: <20090112.215202.194850308.davem@davemloft.net>
In-Reply-To: <20090112.215202.194850308.davem@davemloft.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 0b
X-MS-Exchange-Organization-AuthSource: exch1.onstor.net
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-originalarrivaltime: 15 Jan 2009 14:42:21.0155 (UTC)
 FILETIME=[78D2EB30:01C9771F]
errors-to: linux-mips-bounce@linux-mips.org
x-ems-proccessed: 2K3Xl1OQTInXD6xxuA8z3Q==
x-ems-stamp: Eo8TRuMP19Qaeo5t5Jry6w==
x-messageone-virus-version: vendor=fsecure
 engine=4.65.7400:2.4.4,1.2.40,4.0.164
 definitions=2009-01-15_04:2009-01-08,2009-01-15,2009-01-15 signatures=0
x-messageone-virus-scanned: Clean
x-messageone-envelope-sender: linux-mips-bounce@linux-mips.org
x-messageone-spam-details: rule=m773emszm_notspam policy=m773emszm score=0
 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
 adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0901150070
x-messageone-spam-score: 0
x-messageone-spam-bar:
x-list: linux-mips
x-archive-position: 21748
x-ecartis-version: Ecartis v1.0.0
x-original-sender: n0-1@freewrt.org
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

As the korina ethernet driver uses platform_get_drvdata() to extract the
driver specific data from the platform device, driver_data has to be
used here.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
---
 arch/mips/rb532/devices.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c
index 9b6b744..3c74561 100644
--- a/arch/mips/rb532/devices.c
+++ b/arch/mips/rb532/devices.c
@@ -89,7 +89,7 @@ static struct korina_device korina_dev0_data =3D {
 static struct platform_device korina_dev0 =3D {
 	.id =3D -1,
 	.name =3D "korina",
-	.dev.platform_data =3D &korina_dev0_data,
+	.dev.driver_data =3D &korina_dev0_data,
 	.resource =3D korina_dev0_res,
 	.num_resources =3D ARRAY_SIZE(korina_dev0_res),
 };
--=20
1.5.6.4


