summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-06-18 18:33:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-18 17:26:09 -0700
commita648232dc5ed840c6dab0a949450ee4cdf5830bd (patch)
tree8c7b4e08ff02ea2c90a913927abc9eceb8f7fc7f /drivers/staging/iio/adc/Kconfig
parent90032e4e9cc40e2933259190b670d70ddd149e68 (diff)
staging:iio:adc:ad7192: Use new triggered buffer setup helper function
Use the new triggered buffer setup helper function to allocate and register buffer and pollfunc. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/adc/Kconfig')
-rw-r--r--drivers/staging/iio/adc/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 8f1b3af02f29..7cdf421e76ee 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -136,8 +136,7 @@ config AD7192
tristate "Analog Devices AD7190 AD7192 AD7195 ADC driver"
depends on SPI
select IIO_BUFFER
- select IIO_KFIFO_BUF
- select IIO_TRIGGER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices AD7190,
AD7192 or AD7195 SPI analog to digital converters (ADC).