]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpio/pcf857x.c
net: only invoke dev->change_rx_flags when device is UP
[linux-2.6-omap-h63xx.git] / drivers / gpio / pcf857x.c
index d25d356c4f200c9a197a5ac84373f7441e415e3a..fc9c6ae739ee74f8f77b8836bd5e7894001e5d9d 100644 (file)
@@ -200,6 +200,7 @@ static int pcf857x_probe(struct i2c_client *client,
 
        gpio->chip.base = pdata->gpio_base;
        gpio->chip.can_sleep = 1;
+       gpio->chip.dev = &client->dev;
        gpio->chip.owner = THIS_MODULE;
 
        /* NOTE:  the OnSemi jlc1562b is also largely compatible with