]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/gpio/pca953x.c
Pull virt-cpu-accounting into release branch
[linux-2.6-omap-h63xx.git] / drivers / gpio / pca953x.c
index 92583cd4bffd21b2b47966f4c3ddc1fd9766e850..6e72fd31184d8aa95021f897ee436af3bdd7b833 100644 (file)
@@ -184,6 +184,7 @@ static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios)
        gc->direction_output = pca953x_gpio_direction_output;
        gc->get = pca953x_gpio_get_value;
        gc->set = pca953x_gpio_set_value;
+       gc->can_sleep = 1;
 
        gc->base = chip->gpio_start;
        gc->ngpio = gpios;