aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mcp23s08.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-mcp23s08.c')
-rw-r--r--drivers/gpio/gpio-mcp23s08.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c
index 00fbb30b9b10..f3bee370bcf2 100644
--- a/drivers/gpio/gpio-mcp23s08.c
+++ b/drivers/gpio/gpio-mcp23s08.c
@@ -867,7 +867,7 @@ static int mcp23s08_probe(struct spi_device *spi)
867{ 867{
868 struct mcp23s08_platform_data *pdata; 868 struct mcp23s08_platform_data *pdata;
869 unsigned addr; 869 unsigned addr;
870 unsigned chips = 0; 870 int chips = 0;
871 struct mcp23s08_driver_data *data; 871 struct mcp23s08_driver_data *data;
872 int status, type; 872 int status, type;
873 unsigned base = -1, 873 unsigned base = -1,