From: Wolfram Sang Date: Fri, 18 Sep 2009 20:45:47 +0000 (+0200) Subject: gpio/pcf857x: Copy i2c_device_id from old pcf8574 driver X-Git-Tag: v2.6.32-rc1~172^2~8 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=4ba2ccb83e03077bb94f8848ee573f1e27cea969;p=safe%2Fjmp%2Flinux-2.6 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 Cc: David Brownell Signed-off-by: Jean Delvare --- 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 },