Commit 3fd8bbf9 authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

This driver makes use of triggered buffers, but does not select the
required modules.

Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.

Fixes: 0fc26596 ("iio: chemical: ens160: add triggered buffer support")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: default avatarGustavo Silva <gustavograzs@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-9-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 62ec3df3
...@@ -80,6 +80,8 @@ config ENS160 ...@@ -80,6 +80,8 @@ config ENS160
tristate "ScioSense ENS160 sensor driver" tristate "ScioSense ENS160 sensor driver"
depends on (I2C || SPI) depends on (I2C || SPI)
select REGMAP select REGMAP
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
select ENS160_I2C if I2C select ENS160_I2C if I2C
select ENS160_SPI if SPI select ENS160_SPI if SPI
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment