mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-30 01:10:44 +09:00
Merge commit '8bb65fc06c' into next/soc
This includes one fix from mainline to avoid introducing a build regression after the pxa tree starts using gpio-reg: drivers/gpio/gpio-reg.c:106:21: error: 'struct gpio_reg' has no member named 'irq'; did you mean 'irqs'? drivers/gpio/gpio-reg.c:107:29: error: 'struct gpio_reg' has no member named 'irq'; did you mean 'irqs'? * commit '8bb65fc06c': gpio: gpio-reg: fix build Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -103,8 +103,8 @@ static int gpio_reg_to_irq(struct gpio_chip *gc, unsigned offset)
|
||||
struct gpio_reg *r = to_gpio_reg(gc);
|
||||
int irq = r->irqs[offset];
|
||||
|
||||
if (irq >= 0 && r->irq.domain)
|
||||
irq = irq_find_mapping(r->irq.domain, irq);
|
||||
if (irq >= 0 && r->irqdomain)
|
||||
irq = irq_find_mapping(r->irqdomain, irq);
|
||||
|
||||
return irq;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user