gpio: sysfs interface
[deliverable/linux.git] / drivers / gpio / mcp23s08.c
index 7f92fdd5f0e2888b2c719e67873a5a7f0b435267..7efd7d3a81f9f927c037d25f981f47c5e45eefa2 100644 (file)
@@ -239,6 +239,7 @@ static int mcp23s08_probe(struct spi_device *spi)
        mcp->chip.base = pdata->base;
        mcp->chip.ngpio = 8;
        mcp->chip.can_sleep = 1;
+       mcp->chip.dev = &spi->dev;
        mcp->chip.owner = THIS_MODULE;
 
        spi_set_drvdata(spi, mcp);
This page took 0.024247 seconds and 5 git commands to generate.