Ver Fonte

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>
Alison Schofield há 9 anos atrás
pai
commit
e24544553b
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      drivers/iio/temperature/Kconfig

+ 2 - 0
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.