summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/Kconfig
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2012-10-06 14:10:05 +0100
committerJonathan Cameron <jic23@kernel.org>2012-11-10 10:17:28 +0000
commitb3bcbfcfece186f3a3799460aea3da30577615f9 (patch)
tree814766714f9f477b5ba2997cac5bc997b1ccdf22 /drivers/staging/iio/adc/Kconfig
parent0d331e4fd26c6caafa27ff4048294b2bb9263b2a (diff)
staging:iio:adc:max1363 consolidate files.
For a long while now the max1363 core has selected the buffer anyway. For a while I meant to make the separation work again, but given how long it has been it is probably time to conclude it will never happen and settle for tidying up what we have. Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/adc/Kconfig')
-rw-r--r--drivers/staging/iio/adc/Kconfig16
1 files changed, 5 insertions, 11 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index e662a5c55b55..4d348048b39d 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -133,8 +133,10 @@ config AD7280
config MAX1363
tristate "Maxim max1363 ADC driver"
depends on I2C
- select IIO_TRIGGER if IIO_BUFFER
+ select IIO_TRIGGER
select MAX1363_RING_BUFFER
+ select IIO_BUFFER
+ select IIO_KFIFO_BUF
help
Say yes here to build support for many Maxim i2c analog to digital
converters (ADC). (max1361, max1362, max1363, max1364, max1036,
@@ -143,16 +145,8 @@ config MAX1363
max11602, max11603, max11604, max11605, max11606, max11607,
max11608, max11609, max11610, max11611, max11612, max11613,
max11614, max11615, max11616, max11617, max11644, max11645,
- max11646, max11647) Provides direct access via sysfs.
-
-config MAX1363_RING_BUFFER
- bool "Maxim max1363: use ring buffer"
- depends on MAX1363
- select IIO_BUFFER
- select IIO_KFIFO_BUF
- help
- Say yes here to include ring buffer support in the MAX1363
- ADC driver.
+ max11646, max11647) Provides direct access via sysfs and buffered
+ data via the iio dev interface.
config LPC32XX_ADC
tristate "NXP LPC32XX ADC"