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 66db9849aca8..2867730100e4 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c | |||
@@ -1471,7 +1471,7 @@ static unsigned int gpio_irq_startup(struct irq_data *d) | |||
1471 | unsigned pin = d->hwirq; | 1471 | unsigned pin = d->hwirq; |
1472 | int ret; | 1472 | int ret; |
1473 | 1473 | ||
1474 | ret = gpio_lock_as_irq(&at91_gpio->chip, pin); | 1474 | ret = gpiochip_lock_as_irq(&at91_gpio->chip, pin); |
1475 | if (ret) { | 1475 | if (ret) { |
1476 | dev_err(at91_gpio->chip.dev, "unable to lock pind %lu IRQ\n", | 1476 | dev_err(at91_gpio->chip.dev, "unable to lock pind %lu IRQ\n", |
1477 | d->hwirq); | 1477 | d->hwirq); |
@@ -1487,7 +1487,7 @@ static void gpio_irq_shutdown(struct irq_data *d) | |||
1487 | unsigned pin = d->hwirq; | 1487 | unsigned pin = d->hwirq; |
1488 | 1488 | ||
1489 | gpio_irq_mask(d); | 1489 | gpio_irq_mask(d); |
1490 | gpio_unlock_as_irq(&at91_gpio->chip, pin); | 1490 | gpiochip_unlock_as_irq(&at91_gpio->chip, pin); |
1491 | } | 1491 | } |
1492 | 1492 | ||
1493 | #ifdef CONFIG_PM | 1493 | #ifdef CONFIG_PM |