summaryrefslogtreecommitdiff
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2013-01-10 17:29:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-01-26 10:07:45 +0000
commit8a9f645fc15b4bb49a1c8133df9db0ccd67e3f76 (patch)
tree165d248afeb8a3aad8d6a02a7e4fe30656a9e423 /drivers/iio/adc
parent8f5f90a872c38b4e78f3cc95e8a25434b98e4db2 (diff)
downloadlinux-3.10-8a9f645fc15b4bb49a1c8133df9db0ccd67e3f76.tar.gz
linux-3.10-8a9f645fc15b4bb49a1c8133df9db0ccd67e3f76.tar.bz2
linux-3.10-8a9f645fc15b4bb49a1c8133df9db0ccd67e3f76.zip
iio: fix Kconfig for max1363
ERROR: "iio_triggered_buffer_setup" [drivers/iio/adc/max1363.ko] undefined! ERROR: "iio_triggered_buffer_cleanup" [drivers/iio/adc/max1363.ko] undefined! add select IIO_TRIGGERED_BUFFER IIO_TRIGGERED_BUFFER in turn selects IIO_TRIGGER and IIO_KFIFO_BUF, so drop those MAX1363_RING_BUFFER is not used anymore Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index fe822a14d13..e372257a849 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -100,10 +100,8 @@ config LP8788_ADC
config MAX1363
tristate "Maxim max1363 ADC driver"
depends on I2C
- select IIO_TRIGGER
- select MAX1363_RING_BUFFER
select IIO_BUFFER
- select IIO_KFIFO_BUF
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for many Maxim i2c analog to digital
converters (ADC). (max1361, max1362, max1363, max1364, max1036,