Skip to content

Commit d248bef

Browse files
javiercarrascocruzgregkh
authored andcommitted
iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
commit 96666f0 upstream. 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: 7c1d167 ("iio: accel: Support Kionix/ROHM KX022A accelerometer") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/20241003-iio-select-v1-1-67c0385197cd@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 479d987 commit d248bef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/iio/accel/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ config IIO_ST_ACCEL_SPI_3AXIS
420420

421421
config IIO_KX022A
422422
tristate
423+
select IIO_BUFFER
424+
select IIO_TRIGGERED_BUFFER
423425

424426
config IIO_KX022A_SPI
425427
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"

0 commit comments

Comments
 (0)