Skip to content

Commit 591217d

Browse files
geertugregkh
authored andcommitted
misc: ti-st: 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 <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2e0e3a2 commit 591217d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/misc/ti-st/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
menu "Texas Instruments shared transport line discipline"
66
config TI_ST
77
tristate "Shared transport core driver"
8-
depends on NET && GPIOLIB && TTY
8+
depends on NET && TTY
9+
depends on GPIOLIB || COMPILE_TEST
910
select FW_LOADER
1011
help
1112
This enables the shared transport core driver for TI

0 commit comments

Comments
 (0)