]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/iio/humidity/Kconfig
iio: Allow compile test of GPIO consumers if !GPIOLIB
[karo-tx-linux.git] / drivers / iio / humidity / Kconfig
index 4813b793b9f7f94439f06c59062e296f7d3b70d5..688c0d1cb47dea363df8b5dcc395797a575e9445 100644 (file)
@@ -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.