]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/iio/adc/Kconfig
Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB
[karo-tx-linux.git] / drivers / staging / iio / adc / Kconfig
index d0016ce6e65840e61681f38ee8d9bff39463d367..94ae4232ee773497f650e87c3e20e82842313543 100644 (file)
@@ -5,7 +5,7 @@ menu "Analog to digital converters"
 
 config AD7606
        tristate "Analog Devices AD7606 ADC driver"
-       depends on GPIOLIB
+       depends on GPIOLIB || COMPILE_TEST
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER
        help
@@ -39,7 +39,7 @@ config AD7606_IFACE_SPI
 config AD7780
        tristate "Analog Devices AD7780 and similar ADCs driver"
        depends on SPI
-       depends on GPIOLIB
+       depends on GPIOLIB || COMPILE_TEST
        select AD_SIGMA_DELTA
        help
          Say yes here to build support for Analog Devices AD7170, AD7171,
@@ -52,7 +52,7 @@ config AD7780
 config AD7816
        tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver"
        depends on SPI
-       depends on GPIOLIB
+       depends on GPIOLIB || COMPILE_TEST
        help
          Say yes here to build support for Analog Devices AD7816/7/8
          temperature sensors and ADC.