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>
This commit is contained in:
committed by
Dmitry Torokhov
parent
62f4666968
commit
7d6548abcf
@@ -118,7 +118,7 @@ config TOUCHSCREEN_ATMEL_MXT
|
||||
config TOUCHSCREEN_AUO_PIXCIR
|
||||
tristate "AUO in-cell touchscreen using Pixcir ICs"
|
||||
depends on I2C
|
||||
depends on GPIOLIB
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
help
|
||||
Say Y here if you have a AUO display with in-cell touchscreen
|
||||
using Pixcir ICs.
|
||||
@@ -142,7 +142,7 @@ config TOUCHSCREEN_BU21013
|
||||
|
||||
config TOUCHSCREEN_CHIPONE_ICN8318
|
||||
tristate "chipone icn8318 touchscreen controller"
|
||||
depends on GPIOLIB
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
depends on I2C
|
||||
depends on OF
|
||||
help
|
||||
@@ -156,7 +156,7 @@ config TOUCHSCREEN_CHIPONE_ICN8318
|
||||
config TOUCHSCREEN_CY8CTMG110
|
||||
tristate "cy8ctmg110 touchscreen"
|
||||
depends on I2C
|
||||
depends on GPIOLIB
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
help
|
||||
Say Y here if you have a cy8ctmg110 capacitive touchscreen on
|
||||
an AAVA device.
|
||||
@@ -1030,7 +1030,7 @@ config TOUCHSCREEN_TPS6507X
|
||||
config TOUCHSCREEN_ZFORCE
|
||||
tristate "Neonode zForce infrared touchscreens"
|
||||
depends on I2C
|
||||
depends on GPIOLIB
|
||||
depends on GPIOLIB || COMPILE_TEST
|
||||
help
|
||||
Say Y here if you have a touchscreen using the zforce
|
||||
infraread technology from Neonode.
|
||||
|
||||
Reference in New Issue
Block a user