gpio: lpc32xx: disable broken to_irq support
authorSylvain Lemieux <slemieux@tycoint.com>
Wed, 11 May 2016 17:40:00 +0000 (13:40 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 May 2016 07:42:03 +0000 (09:42 +0200)
commit320a6480ef24b03655e1854bd01c9b0a8b8d4a3f
tree4047dfeb6ca369ecc1e624c8dcb97a8790dd810a
parent1a695a905c18548062509178b98bc91e67510864
gpio: lpc32xx: disable broken to_irq support

The "to_irq" functionality is broken inside this driver since commit
76ba59f8366f ("genirq: Add irq_domain-aware core IRQ handler").

The addition of the new lpc32xx irqchip driver in 4.7, fixed the
lpc32xx platform interrupt issue.

When switching to the new lpc32xx irqchip driver, a warning appear
in the lpc32xx gpio driver: warning: "NR_IRQS" redefined.

To remove this warning (temporary solution), this patch
disables the broken "to_irq" mapping functionality support.

Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-lpc32xx.c