summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-15 13:15:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-11-19 22:22:14 +0000
commitdc4871adf96573f3ea1672fceb844301dc071a2b (patch)
tree0cc0ca4243db475e5494c89cae43613570c9aa64 /drivers/staging/iio/adc/Kconfig
parent01a10e04f8e099fea3212a70df0b25a8ffd9275f (diff)
staging:iio:ad7298: Squash everything into one file
The recent cleanups have decimated the drivers code size by quite a bit. It is only a few hundred lines in total now. Putting everything into one file also allows to reduce the code size a bit more by removing a few lines of boilerplate code. The only functional change made by this patch is that we now always include buffer support, instead of making it optional. This is more consistent with what we do for other drivers. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/adc/Kconfig')
-rw-r--r--drivers/staging/iio/adc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 0177f1e02300..5086a46b8e9a 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -13,7 +13,8 @@ config AD7291
config AD7298
tristate "Analog Devices AD7298 ADC driver"
depends on SPI
- select IIO_TRIGGERED_BUFFER if IIO_BUFFER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices AD7298
8 Channel ADC with temperature sensor.