iio: temperature: add Kconfig selects for triggered buffer
authorAlison Schofield <amsfield22@gmail.com>
Mon, 15 Aug 2016 23:09:36 +0000 (16:09 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Aug 2016 18:50:44 +0000 (19:50 +0100)
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>
drivers/iio/temperature/Kconfig

index 1d3da05..5ea77a7 100644 (file)
@@ -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.