gpio/pcf857x: Copy i2c_device_id from old pcf8574 driver
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 18 Sep 2009 20:45:47 +0000 (22:45 +0200)
committerJean Delvare <khali@linux-fr.org>
Fri, 18 Sep 2009 20:45:47 +0000 (22:45 +0200)
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>
drivers/gpio/pcf857x.c

index 9525724be731d400f781a36e2354c76b8c5ff699..3f1ec1e6b7aef86a315d9eda50c8052ffc581ccf 100644 (file)
@@ -28,6 +28,7 @@
 
 static const struct i2c_device_id pcf857x_id[] = {
        { "pcf8574", 8 },
+       { "pcf8574a", 8 },
        { "pca8574", 8 },
        { "pca9670", 8 },
        { "pca9672", 8 },