summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlexander Shiyan2016-09-09 08:20:03 +0200
committerLinus Walleij2016-09-12 15:28:18 +0200
commit6d125412fc16802012a17665638f49b0b0c81f18 (patch)
tree5a5387549cfbd1920457146bc386706612b8eb9c /drivers/gpio/Kconfig
parentgpio: fix documentation for gpiod_unexport (diff)
downloadkernel-qcow2-linux-6d125412fc16802012a17665638f49b0b0c81f18.tar.gz
kernel-qcow2-linux-6d125412fc16802012a17665638f49b0b0c81f18.tar.xz
kernel-qcow2-linux-6d125412fc16802012a17665638f49b0b0c81f18.zip
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.