[PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig

Javier Carrasco posted 13 patches 1 month, 3 weeks ago
[PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
Posted by Javier Carrasco 1 month, 3 weeks ago
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: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/chemical/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index 678a6adb9a75..6c87223f58d9 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -80,6 +80,8 @@ config ENS160
 	tristate "ScioSense ENS160 sensor driver"
 	depends on (I2C || SPI)
 	select REGMAP
+	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	select ENS160_I2C if I2C
 	select ENS160_SPI if SPI
 	help

-- 
2.43.0
Re: [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
Posted by Gustavo Silva 1 month, 3 weeks ago
On Thu, Oct 03, 2024 at 11:04:55PM +0200, Javier Carrasco wrote:
> 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: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>

Acked-by: Gustavo Silva
<gustavograzs@gmail.com>
Re: [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Fri, 4 Oct 2024 11:27:49 -0300
Gustavo Silva <gustavograzs@gmail.com> wrote:

> On Thu, Oct 03, 2024 at 11:04:55PM +0200, Javier Carrasco wrote:
> > 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: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>  
> 
> Acked-by: Gustavo Silva
> <gustavograzs@gmail.com>
Applied