Commit aa99ef68 authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

iio: light: bu27008: 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: 41ff93d1 ("iio: light: ROHM BU27008 color sensor")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: default avatarMatti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-10-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3fd8bbf9
...@@ -335,6 +335,8 @@ config ROHM_BU27008 ...@@ -335,6 +335,8 @@ config ROHM_BU27008
depends on I2C depends on I2C
select REGMAP_I2C select REGMAP_I2C
select IIO_GTS_HELPER select IIO_GTS_HELPER
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Enable support for the ROHM BU27008 color sensor. Enable support for the ROHM BU27008 color sensor.
The ROHM BU27008 is a sensor with 5 photodiodes (red, green, The ROHM BU27008 is a sensor with 5 photodiodes (red, green,
......
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