Skip to content

Commit

Permalink
iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
Browse files Browse the repository at this point in the history
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 <[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]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
javiercarrascocruz authored and gregkh committed Oct 22, 2024
1 parent d8ef39d commit 232c2eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/iio/accel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ config IIO_ST_ACCEL_SPI_3AXIS

config IIO_KX022A
tristate
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER

config IIO_KX022A_SPI
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
Expand Down

0 comments on commit 232c2eb

Please sign in to comment.