summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-08-15 16:09:36 -0700
committerJonathan Cameron <jic23@kernel.org>2016-08-21 19:50:44 +0100
commite24544553b0830ce91e723099868723b6531c4b2 (patch)
treebe3f06733bec5e04bd0604c1d78e71a659b4141c
parent197399dcd7726b6b86d2c46700c9be05f5b85425 (diff)
downloadop-kernel-dev-e24544553b0830ce91e723099868723b6531c4b2.zip
op-kernel-dev-e24544553b0830ce91e723099868723b6531c4b2.tar.gz
iio: temperature: add Kconfig selects for triggered buffer
Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile maxim_thermocouple. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/temperature/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/temperature/Kconfig b/drivers/iio/temperature/Kconfig
index 1d3da05..5ea77a7 100644
--- a/drivers/iio/temperature/Kconfig
+++ b/drivers/iio/temperature/Kconfig
@@ -6,6 +6,8 @@ menu "Temperature sensors"
config MAXIM_THERMOCOUPLE
tristate "Maxim thermocouple sensors"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
If you say yes here you get support for the Maxim series of
thermocouple sensors connected via SPI.
OpenPOWER on IntegriCloud