aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-09-18 22:45:47 +0200
committerJean Delvare <khali@linux-fr.org>2009-09-18 22:45:47 +0200
commit4ba2ccb83e03077bb94f8848ee573f1e27cea969 (patch)
tree2ec59264191153a5be7653c333aefcee49799db9
parentfce96f3e5d34b0e3195f9d1bf2b3c7e3841e90ff (diff)
gpio/pcf857x: Copy i2c_device_id from old pcf8574 driver
The deprecated pcf8574 driver is going to be removed. Make sure the 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> Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r--drivers/gpio/pcf857x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/pcf857x.c b/drivers/gpio/pcf857x.c
index 9525724be73..3f1ec1e6b7a 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 },