]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpio-pca953x.c
Merge tag 'for-3.14-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / drivers / gpio / gpio-pca953x.c
index 6e48c07e3d8c95d84a940b1712b82bb8db1d5e9d..019b23b955a2884c6f2b63233819cdd4d3beee73 100644 (file)
@@ -354,7 +354,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->can_sleep = true;
 
        gc->base = chip->gpio_start;
        gc->ngpio = gpios;