summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/Kconfig
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-08-04 20:43:40 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-08-04 20:45:45 +0200
commit7d6548abcf4ea4845db8a62a5875d93e2c1bf882 (patch)
tree11d130f2f3ae7dfc5481959b9f7d4f3f0d9a3154 /drivers/input/mouse/Kconfig
parentInput: zforce - make the interrupt GPIO optional (diff)
downloadlinux-7d6548abcf4ea4845db8a62a5875d93e2c1bf882.tar.xz
linux-7d6548abcf4ea4845db8a62a5875d93e2c1bf882.zip
Input: 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/Kconfig')
-rw-r--r--drivers/input/mouse/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
index d7820d1152d2..17f97e5e11e7 100644
--- a/drivers/input/mouse/Kconfig
+++ b/drivers/input/mouse/Kconfig
@@ -341,7 +341,7 @@ config MOUSE_VSXXXAA
config MOUSE_GPIO
tristate "GPIO mouse"
- depends on GPIOLIB
+ depends on GPIOLIB || COMPILE_TEST
select INPUT_POLLDEV
help
This driver simulates a mouse on GPIO lines of various CPUs (and some