diff options
Diffstat (limited to 'drivers/gpio/pca953x.c')
-rw-r--r-- | drivers/gpio/pca953x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index 5a99e81d2784..93f916720b13 100644 --- a/drivers/gpio/pca953x.c +++ b/drivers/gpio/pca953x.c | |||
@@ -30,6 +30,8 @@ static const struct i2c_device_id pca953x_id[] = { | |||
30 | { "pca9537", 4, }, | 30 | { "pca9537", 4, }, |
31 | { "pca9538", 8, }, | 31 | { "pca9538", 8, }, |
32 | { "pca9539", 16, }, | 32 | { "pca9539", 16, }, |
33 | { "pca9555", 16, }, | ||
34 | { "pca9557", 8, }, | ||
33 | /* REVISIT several pca955x parts should work here too */ | 35 | /* REVISIT several pca955x parts should work here too */ |
34 | { } | 36 | { } |
35 | }; | 37 | }; |
@@ -193,7 +195,7 @@ static int __devinit pca953x_probe(struct i2c_client *client, | |||
193 | { | 195 | { |
194 | struct pca953x_platform_data *pdata; | 196 | struct pca953x_platform_data *pdata; |
195 | struct pca953x_chip *chip; | 197 | struct pca953x_chip *chip; |
196 | int ret, i; | 198 | int ret; |
197 | 199 | ||
198 | pdata = client->dev.platform_data; | 200 | pdata = client->dev.platform_data; |
199 | if (pdata == NULL) | 201 | if (pdata == NULL) |