summaryrefslogtreecommitdiff
path: root/net/rfkill/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'net/rfkill/Kconfig')
-rw-r--r--net/rfkill/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig
index 4c10e7e6c..598d374f6 100644
--- a/net/rfkill/Kconfig
+++ b/net/rfkill/Kconfig
@@ -36,7 +36,8 @@ config RFKILL_REGULATOR
config RFKILL_GPIO
tristate "GPIO RFKILL driver"
- depends on RFKILL && GPIOLIB
+ depends on RFKILL
+ depends on GPIOLIB || COMPILE_TEST
default n
help
If you say yes here you get support of a generic gpio RFKILL