diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index 354a81d40925..608671704522 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c | |||
@@ -1472,7 +1472,7 @@ static unsigned int gpio_irq_startup(struct irq_data *d) | |||
1472 | unsigned pin = d->hwirq; | 1472 | unsigned pin = d->hwirq; |
1473 | int ret; | 1473 | int ret; |
1474 | 1474 | ||
1475 | ret = gpio_lock_as_irq(&at91_gpio->chip, pin); | 1475 | ret = gpiochip_lock_as_irq(&at91_gpio->chip, pin); |
1476 | if (ret) { | 1476 | if (ret) { |
1477 | dev_err(at91_gpio->chip.dev, "unable to lock pind %lu IRQ\n", | 1477 | dev_err(at91_gpio->chip.dev, "unable to lock pind %lu IRQ\n", |
1478 | d->hwirq); | 1478 | d->hwirq); |
@@ -1488,7 +1488,7 @@ static void gpio_irq_shutdown(struct irq_data *d) | |||
1488 | unsigned pin = d->hwirq; | 1488 | unsigned pin = d->hwirq; |
1489 | 1489 | ||
1490 | gpio_irq_mask(d); | 1490 | gpio_irq_mask(d); |
1491 | gpio_unlock_as_irq(&at91_gpio->chip, pin); | 1491 | gpiochip_unlock_as_irq(&at91_gpio->chip, pin); |
1492 | } | 1492 | } |
1493 | 1493 | ||
1494 | #ifdef CONFIG_PM | 1494 | #ifdef CONFIG_PM |