linux-mips
[Top] [All Lists]

[PATCH 1/4] gpio/pcf857x: copy i2c_device_id from old pcf8574-driver

To: linux-i2c@vger.kernel.org
Subject: [PATCH 1/4] gpio/pcf857x: copy i2c_device_id from old pcf8574-driver
From: Wolfram Sang <w.sang@pengutronix.de>
Date: Wed, 9 Sep 2009 23:22:48 +0200
Cc: linuxppc-dev@ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.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>
In-reply-to: <1252531371-14866-1-git-send-email-w.sang@pengutronix.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1252531371-14866-1-git-send-email-w.sang@pengutronix.de>
Sender: linux-mips-bounce@linux-mips.org
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 @@
 
 static const struct i2c_device_id pcf857x_id[] = {
        { "pcf8574", 8 },
+       { "pcf8574a", 8 },
        { "pca8574", 8 },
        { "pca9670", 8 },
        { "pca9672", 8 },
-- 
1.6.3.3


<Prev in Thread] Current Thread [Next in Thread>