summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-06-02 15:17:54 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-09-02 10:44:01 +0200
commit0752e169ba523e35f70d2fee4d06680b33e0e202 (patch)
tree1a97f9d7e271ef38934eab8fc3750858dda46e7d /drivers/gpio/Kconfig
parentabdc08a3a263a20e49534a36291d657bf53dda5b (diff)
downloadblackbird-op-linux-0752e169ba523e35f70d2fee4d06680b33e0e202.tar.gz
blackbird-op-linux-0752e169ba523e35f70d2fee4d06680b33e0e202.zip
gpio: adnp: switch to use irqchip helpers
This switches the ADNP GPIO driver to use the gpiolib irqchip helpers. Also do some random refactoring to make it look like most other GPIO drivers. Cc: Roland Stigge <stigge@antcom.de> Cc: Lars Poeschel <poeschel@lemonage.de> Cc: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 1fe93eb61927..ec27ec0be8c2 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -690,6 +690,7 @@ config GPIO_ADP5588_IRQ
config GPIO_ADNP
tristate "Avionic Design N-bit GPIO expander"
depends on I2C && OF_GPIO
+ select GPIOLIB_IRQCHIP
help
This option enables support for N GPIOs found on Avionic Design
I2C GPIO expanders. The register space will be extended by powers
OpenPOWER on IntegriCloud