summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2016-09-09 09:20:03 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-09-12 15:28:18 +0200
commit6d125412fc16802012a17665638f49b0b0c81f18 (patch)
tree5a5387549cfbd1920457146bc386706612b8eb9c /drivers/gpio/Kconfig
parent31963eb039b7d5708cdd3e07d247ac2389eb0c1f (diff)
downloadlinux-6d125412fc16802012a17665638f49b0b0c81f18.tar.bz2
gpio: iop: Use generic GPIO MMIO functions for driver
This patch switches the driver to use the generic GPIO MMIO functions that removes a bit of redundant and duplicate code. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 17842e6a56dc..68c2d647be9a 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -228,7 +228,8 @@ config GPIO_ICH
config GPIO_IOP
tristate "Intel IOP GPIO"
- depends on ARM && (ARCH_IOP32X || ARCH_IOP33X)
+ depends on ARCH_IOP32X || ARCH_IOP33X || COMPILE_TEST
+ select GPIO_GENERIC
help
Say yes here to support the GPIO functionality of a number of Intel
IOP32X or IOP33X.