Skip to content

Commit 96666f0

Browse files
javiercarrascocruzjic23
authored andcommitted
iio: accel: kx022a: 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: 7c1d167 ("iio: accel: Support Kionix/ROHM KX022A accelerometer") 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 d6bf698 commit 96666f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/accel/Kconfig

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

448448
config IIO_KX022A
449449
tristate
450+
select IIO_BUFFER
451+
select IIO_TRIGGERED_BUFFER
450452

451453
config IIO_KX022A_SPI
452454
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"

0 commit comments

Comments
 (0)