]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpio-sx150x.c
Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / drivers / gpio / gpio-sx150x.c
index d2983e9ad6af78ee1705b6377cea93f5de41d245..13d73fb2b5e1a2b0346b3cd8e75c4436795cca39 100644 (file)
@@ -436,7 +436,7 @@ static void sx150x_init_chip(struct sx150x_chip *chip,
        chip->gpio_chip.set              = sx150x_gpio_set;
        chip->gpio_chip.to_irq           = sx150x_gpio_to_irq;
        chip->gpio_chip.base             = pdata->gpio_base;
-       chip->gpio_chip.can_sleep        = 1;
+       chip->gpio_chip.can_sleep        = true;
        chip->gpio_chip.ngpio            = chip->dev_cfg->ngpios;
        if (pdata->oscio_is_gpo)
                ++chip->gpio_chip.ngpio;