diff options
Diffstat (limited to 'drivers/gpio/gpio-dwapb.c')
-rw-r--r-- | drivers/gpio/gpio-dwapb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index b43cd84b61f1..4beb37839392 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c | |||
@@ -194,7 +194,7 @@ static int dwapb_irq_reqres(struct irq_data *d) | |||
194 | struct dwapb_gpio *gpio = igc->private; | 194 | struct dwapb_gpio *gpio = igc->private; |
195 | struct bgpio_chip *bgc = &gpio->ports[0].bgc; | 195 | struct bgpio_chip *bgc = &gpio->ports[0].bgc; |
196 | 196 | ||
197 | if (gpio_lock_as_irq(&bgc->gc, irqd_to_hwirq(d))) { | 197 | if (gpiochip_lock_as_irq(&bgc->gc, irqd_to_hwirq(d))) { |
198 | dev_err(gpio->dev, "unable to lock HW IRQ %lu for IRQ\n", | 198 | dev_err(gpio->dev, "unable to lock HW IRQ %lu for IRQ\n", |
199 | irqd_to_hwirq(d)); | 199 | irqd_to_hwirq(d)); |
200 | return -EINVAL; | 200 | return -EINVAL; |
@@ -208,7 +208,7 @@ static void dwapb_irq_relres(struct irq_data *d) | |||
208 | struct dwapb_gpio *gpio = igc->private; | 208 | struct dwapb_gpio *gpio = igc->private; |
209 | struct bgpio_chip *bgc = &gpio->ports[0].bgc; | 209 | struct bgpio_chip *bgc = &gpio->ports[0].bgc; |
210 | 210 | ||
211 | gpio_unlock_as_irq(&bgc->gc, irqd_to_hwirq(d)); | 211 | gpiochip_unlock_as_irq(&bgc->gc, irqd_to_hwirq(d)); |
212 | } | 212 | } |
213 | 213 | ||
214 | static int dwapb_irq_set_type(struct irq_data *d, u32 type) | 214 | static int dwapb_irq_set_type(struct irq_data *d, u32 type) |