summaryrefslogtreecommitdiffstats
path: root/kernel/net/rfkill/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/rfkill/Kconfig')
-rw-r--r--kernel/net/rfkill/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/net/rfkill/Kconfig b/kernel/net/rfkill/Kconfig
index 4c10e7e6c..598d374f6 100644
--- a/kernel/net/rfkill/Kconfig
+++ b/kernel/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