diff options
Diffstat (limited to 'drivers/gpio/gpio-sx150x.c')
-rw-r--r-- | drivers/gpio/gpio-sx150x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sx150x.c b/drivers/gpio/gpio-sx150x.c index d2983e9ad6af..13d73fb2b5e1 100644 --- a/drivers/gpio/gpio-sx150x.c +++ b/drivers/gpio/gpio-sx150x.c | |||
@@ -436,7 +436,7 @@ static void sx150x_init_chip(struct sx150x_chip *chip, | |||
436 | chip->gpio_chip.set = sx150x_gpio_set; | 436 | chip->gpio_chip.set = sx150x_gpio_set; |
437 | chip->gpio_chip.to_irq = sx150x_gpio_to_irq; | 437 | chip->gpio_chip.to_irq = sx150x_gpio_to_irq; |
438 | chip->gpio_chip.base = pdata->gpio_base; | 438 | chip->gpio_chip.base = pdata->gpio_base; |
439 | chip->gpio_chip.can_sleep = 1; | 439 | chip->gpio_chip.can_sleep = true; |
440 | chip->gpio_chip.ngpio = chip->dev_cfg->ngpios; | 440 | chip->gpio_chip.ngpio = chip->dev_cfg->ngpios; |
441 | if (pdata->oscio_is_gpo) | 441 | if (pdata->oscio_is_gpo) |
442 | ++chip->gpio_chip.ngpio; | 442 | ++chip->gpio_chip.ngpio; |