Received: from milmhbs1.lsil.com (147.145.21.209) by coscas01.lsi.com
 (172.21.36.60) with Microsoft SMTP Server id 8.1.393.1; Wed, 9 Sep 2009
 15:24:48 -0600
Received: from mail1.lsil.com (mail1.lsil.com [147.145.40.21])	by
 milmhbs1.lsil.com (8.12.11/8.12.11) with ESMTP id n89LOlMo007180	for
 <andy.sharp@lsi.com>; Wed, 9 Sep 2009 14:24:47 -0700
Received: from psmtp.com (exprod7mx250.postini.com [64.18.2.104])	by
 mail1.lsil.com (8.12.11/8.12.11) with SMTP id n89LOk5x020292	for
 <andy.sharp@lsi.com>; Wed, 9 Sep 2009 14:24:46 -0700 (PDT)
Received: from source ([78.24.191.182]) by exprod7mx250.postini.com
 ([64.18.6.14]) with SMTP;	Wed, 09 Sep 2009 21:24:47 GMT
Received: from localhost.localdomain ([127.0.0.1]:49075 "EHLO
	eddie.linux-mips.org" rhost-flags-OK-OK-OK-FAIL) by ftp.linux-mips.org	with
 ESMTP id S1493500AbZIIVYl (ORCPT <rfc822;andy.sharp@lsi.com>);	Wed, 9 Sep
 2009 23:24:41 +0200
Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 09 Sep 2009 23:24:24
 +0200 (CEST)
Received: from metis.ext.pengutronix.de ([92.198.50.35]:41259 "EHLO
	metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK)	by ftp.linux-mips.org with
 ESMTP id S1493465AbZIIVX4 (ORCPT	<rfc822;linux-mips@linux-mips.org>); Wed, 9
 Sep 2009 23:23:56 +0200
Received: from themisto.ext.pengutronix.de ([92.198.50.58]
 helo=pengutronix.de)	by metis.ext.pengutronix.de with esmtp (Exim 4.63)
	(envelope-from <w.sang@pengutronix.de>)	id 1MlUdj-00008g-3r; Wed, 09 Sep 2009
 23:23:46 +0200
From: Wolfram Sang <w.sang@pengutronix.de>
To: "linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>
CC: "linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>, "linux-mips@linux-mips.org"
	<linux-mips@linux-mips.org>, "uclinux-dist-devel@blackfin.uclinux.org"
	<uclinux-dist-devel@blackfin.uclinux.org>, Wolfram Sang
	<w.sang@pengutronix.de>, David Brownell <dbrownell@users.sourceforge.net>,
	Jean Delvare <khali@linux-fr.org>
Sender: "linux-mips-bounce@linux-mips.org" <linux-mips-bounce@linux-mips.org>
Date: Wed, 9 Sep 2009 15:22:48 -0600
Subject: [PATCH 1/4] gpio/pcf857x: copy i2c_device_id from old pcf8574-driver
Thread-Topic: [PATCH 1/4] gpio/pcf857x: copy i2c_device_id from old
 pcf8574-driver
Thread-Index: Acoxk/YfwcPFf+LEQcmf6L7IGYAKwg==
Message-ID: <1252531371-14866-2-git-send-email-w.sang@pengutronix.de>
References: <1252531371-14866-1-git-send-email-w.sang@pengutronix.de>
In-Reply-To: <1252531371-14866-1-git-send-email-w.sang@pengutronix.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Exchange-Organization-AuthSource: coscas01.lsi.com
X-MS-Has-Attach:
X-Auto-Response-Suppress: All
X-MS-TNEF-Correlator:
x-scanned-by: MIMEDefang 2.39
errors-to: linux-mips-bounce@linux-mips.org
x-pstn-neptune: 0/0/0.00/0
x-pstn-levels: (S:79.10620/99.90000 CV:99.9000 FC:95.5390 LC:95.5390
 R:95.9108 P:95.9108 M:97.0282 C:98.6951 )
x-pstn-settings: 3 (1.0000:1.0000) s cv gt3 gt2 gt1 r p m c 
x-pstn-addresses: from <w.sang@pengutronix.de> [db-null] 
x-sa-exim-connect-ip: 92.198.50.58
x-sa-exim-mail-from: w.sang@pengutronix.de
x-sa-exim-scanned: Yes (on metis.ext.pengutronix.de)
x-sa-exim-version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
x-archive-position: 23998
x-ecartis-version: Ecartis v1.0.0
x-original-sender: w.sang@pengutronix.de
x-list: linux-mips
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0

The deprecated pcf8574 driver is going to be removed. Make sure this
replacement-driver inherits all i2c_device_ids for a smooth transition.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Jean Delvare <khali@linux-fr.org>
---
 drivers/gpio/pcf857x.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/pcf857x.c b/drivers/gpio/pcf857x.c
index 9525724..3f1ec1e 100644
--- a/drivers/gpio/pcf857x.c
+++ b/drivers/gpio/pcf857x.c
@@ -28,6 +28,7 @@
=20
 static const struct i2c_device_id pcf857x_id[] =3D {
 	{ "pcf8574", 8 },
+	{ "pcf8574a", 8 },
 	{ "pca8574", 8 },
 	{ "pca9670", 8 },
 	{ "pca9672", 8 },
--=20
1.6.3.3


