]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: Allow compile test of GPIO consumers if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 4 Aug 2015 18:43:40 +0000 (11:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 4 Aug 2015 18:45:45 +0000 (11:45 -0700)
commit7d6548abcf4ea4845db8a62a5875d93e2c1bf882
tree11d130f2f3ae7dfc5481959b9f7d4f3f0d9a3154
parent62f46669688bf13643b91bbc30f19da1095a5ed6
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>
drivers/input/keyboard/Kconfig
drivers/input/misc/Kconfig
drivers/input/mouse/Kconfig
drivers/input/touchscreen/Kconfig