]> 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 d01c7076a342956cea29dc65050dc0838ee61943..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
@@ -22,6 +22,9 @@ config AD7606_IFACE_PARALLEL
          Say yes here to include parallel interface support on the AD7606
          ADC driver.
 
+         To compile this driver as a module, choose M here: the
+         module will be called ad7606_iface_parallel.
+
 config AD7606_IFACE_SPI
        tristate "spi interface support"
        depends on AD7606
@@ -30,10 +33,13 @@ config AD7606_IFACE_SPI
          Say yes here to include parallel interface support on the AD7606
          ADC driver.
 
+         To compile this driver as a module, choose M here: the
+         module will be called 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,
@@ -46,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.
@@ -107,4 +113,6 @@ config SPEAR_ADC
          Say yes here to build support for the integrated ADC inside the
          ST SPEAr SoC. Provides direct access via sysfs.
 
+         To compile this driver as a module, choose M here: the
+         module will be called spear_adc.
 endmenu