Skip to content

Commit aa99ef6

Browse files
javiercarrascocruzjic23
authored andcommitted
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: 41ff93d ("iio: light: ROHM BU27008 color sensor") Signed-off-by: Javier Carrasco <[email protected]> Acked-by: Matti Vaittinen <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 3fd8bbf commit aa99ef6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/light/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ config ROHM_BU27008
335335
depends on I2C
336336
select REGMAP_I2C
337337
select IIO_GTS_HELPER
338+
select IIO_BUFFER
339+
select IIO_TRIGGERED_BUFFER
338340
help
339341
Enable support for the ROHM BU27008 color sensor.
340342
The ROHM BU27008 is a sensor with 5 photodiodes (red, green,

0 commit comments

Comments
 (0)