gpio: xgene: Fix kconfig for standby GIPO contoller
authorMatthias Brugger <mbrugger@suse.com>
Fri, 4 Mar 2016 10:59:58 +0000 (11:59 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Mar 2016 12:00:29 +0000 (13:00 +0100)
commite5f7e3121429c7b1ce6d759150b5bf936ddd2080
treeda70051e933944569e293767c5a1654666c03295
parent45fe3fca6d5e9789dd274521180f364437d596e7
gpio: xgene: Fix kconfig for standby GIPO contoller

The standby GPIO controller can be used as a interrupt controller.
Select GPIOLIB_IRQCHIP when compiling this driver. Otherwise we get
a compilation error:

drivers/gpio/gpio-xgene-sb.c: In function 'xgene_gpio_sb_probe':
drivers/gpio/gpio-xgene-sb.c:312:10: error: 'struct gpio_chip'
  has no member named 'irqdomain'
  priv->gc.irqdomain = priv->irq_domain;
          ^
scripts/Makefile.build:295: recipe for target
'drivers/gpio/gpio-xgene-sb.o' failed
make[2]: *** [drivers/gpio/gpio-xgene-sb.o] Error 1

Fixes: 1013fc41 "gpio: xgene: Enable X-Gene standby GPIO as interrupt controller"
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig