summaryrefslogtreecommitdiffstats
path: root/drivers/iio/temperature/Kconfig
diff options
context:
space:
mode:
authorAlison Schofield <amsfield22@gmail.com>2016-08-16 01:09:36 +0200
committerJonathan Cameron <jic23@kernel.org>2016-08-21 20:50:44 +0200
commite24544553b0830ce91e723099868723b6531c4b2 (patch)
treebe3f06733bec5e04bd0604c1d78e71a659b4141c /drivers/iio/temperature/Kconfig
parentiio: magnetometer: mag3110: claim direct mode during raw reads (diff)
downloadlinux-e24544553b0830ce91e723099868723b6531c4b2.tar.xz
linux-e24544553b0830ce91e723099868723b6531c4b2.zip
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/Kconfig')
-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.