summaryrefslogtreecommitdiff
path: root/drivers/iio/humidity/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/humidity/Kconfig')
-rw-r--r--drivers/iio/humidity/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/humidity/Kconfig b/drivers/iio/humidity/Kconfig
index 4813b793b..688c0d1cb 100644
--- a/drivers/iio/humidity/Kconfig
+++ b/drivers/iio/humidity/Kconfig
@@ -5,7 +5,7 @@ menu "Humidity sensors"
config DHT11
tristate "DHT11 (and compatible sensors) driver"
- depends on GPIOLIB
+ depends on GPIOLIB || COMPILE_TEST
help
This driver supports reading data via a single interrupt
generating GPIO line. Currently tested are DHT11 and DHT22.