summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-08-02 11:09:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-04 22:07:21 -0700
commitb737eeb09e3068b092e116f855aa1973fa24c88c (patch)
tree3498fb3efd30ea3d6ff4865065a5794848586d32
parent0a6c301a2db2f9af0478a83c15d8ec5cdac65eb9 (diff)
downloadlinux-stable-b737eeb09e3068b092e116f855aa1973fa24c88c.tar.gz
linux-stable-b737eeb09e3068b092e116f855aa1973fa24c88c.tar.bz2
linux-stable-b737eeb09e3068b092e116f855aa1973fa24c88c.zip
serial: Allow compile test of GPIO consumers if !GPIOLIB
The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where appropriate. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index cbde6b77ef77..687b1ea294b7 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1377,7 +1377,8 @@ config SERIAL_ALTERA_UART_CONSOLE
config SERIAL_IFX6X60
tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
- depends on GPIOLIB && SPI && HAS_DMA
+ depends on GPIOLIB || COMPILE_TEST
+ depends on SPI && HAS_DMA
help
Support for the IFX6x60 modem devices on Intel MID platforms.