Skip to content

Commit 3fd8bbf

Browse files
javiercarrascocruzjic23
authored andcommitted
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: 0fc2659 ("iio: chemical: ens160: add triggered buffer support") Signed-off-by: Javier Carrasco <[email protected]> Acked-by: Gustavo Silva <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 62ec3df commit 3fd8bbf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/chemical/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ config ENS160
8080
tristate "ScioSense ENS160 sensor driver"
8181
depends on (I2C || SPI)
8282
select REGMAP
83+
select IIO_BUFFER
84+
select IIO_TRIGGERED_BUFFER
8385
select ENS160_I2C if I2C
8486
select ENS160_SPI if SPI
8587
help

0 commit comments

Comments
 (0)