]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpio/pca953x.c
hsmmc.c glue uses standard GPIO calls
[linux-2.6-omap-h63xx.git] / drivers / gpio / pca953x.c
index a380730b61abe49800af8e655eaf5735d0524ad0..cc8468692ae0967b295e196c5073fb102c4894c7 100644 (file)
@@ -188,6 +188,7 @@ static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios)
        gc->base = chip->gpio_start;
        gc->ngpio = gpios;
        gc->label = chip->client->name;
+       gc->dev = &chip->client->dev;
        gc->owner = THIS_MODULE;
 }