diff options
Diffstat (limited to 'drivers/gpio/mcp23s08.c')
-rw-r--r-- | drivers/gpio/mcp23s08.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/mcp23s08.c b/drivers/gpio/mcp23s08.c index 7f92fdd5f0e2..7efd7d3a81f9 100644 --- a/drivers/gpio/mcp23s08.c +++ b/drivers/gpio/mcp23s08.c | |||
@@ -239,6 +239,7 @@ static int mcp23s08_probe(struct spi_device *spi) | |||
239 | mcp->chip.base = pdata->base; | 239 | mcp->chip.base = pdata->base; |
240 | mcp->chip.ngpio = 8; | 240 | mcp->chip.ngpio = 8; |
241 | mcp->chip.can_sleep = 1; | 241 | mcp->chip.can_sleep = 1; |
242 | mcp->chip.dev = &spi->dev; | ||
242 | mcp->chip.owner = THIS_MODULE; | 243 | mcp->chip.owner = THIS_MODULE; |
243 | 244 | ||
244 | spi_set_drvdata(spi, mcp); | 245 | spi_set_drvdata(spi, mcp); |