linux-next: manual merge of the gpio tree with Linus Torvalds' tree
Hi Linus,
Today's linux-next merge of the gpio tree got a conflict in:
drivers/pinctrl/bcm/pinctrl-bcm2835.c
between commit:
c84284e59d60 ("pinctrl: bcm2835: fix build warning in bcm2835_gpio_irq_handle_bank")
from Linus Torvalds' tree and commits:
f0fbe7bce733 ("gpio: Move irqdomain into struct gpio_irq_chip") 9e9355bb2096 ("pinctrl: bcm2835: Fix some merge fallout")
from the gpio tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
Signature · 19 lines
Cheers,
Stephen Rothwell
diff --cc drivers/pinctrl/bcm/pinctrl-bcm2835.c
index ff782445dfb7,72d122748293..000000000000
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@@ -379,7 -380,10 +379,7 @@@ static void bcm2835_gpio_irq_handle_ban
events &= pc->enabled_irq_map[bank];
for_each_set_bit(offset, &events, 32) {
gpio = (32 * bank) + offset;
- generic_handle_irq(irq_linear_revmap(pc->gpio_chip.irqdomain,
- /* FIXME: no clue why the code looks up the type here */
- type = pc->irq_type[gpio];
-
+ generic_handle_irq(irq_linear_revmap(pc->gpio_chip.irq.domain,
gpio));
}
}