summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature
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 /drivers/iio/temperature
parent197399dcd7726b6b86d2c46700c9be05f5b85425 (diff)
downloadlinux-e24544553b0830ce91e723099868723b6531c4b2.tar.bz2
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>
Diffstat (limited to 'drivers/iio/temperature')
-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 1d3da05eca39..5ea77a7e261d 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.