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
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]>
  • Loading branch information
javiercarrascocruz authored and jic23 committed Oct 6, 2024
1 parent d6bf698 commit 96666f0
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 @@ -447,6 +447,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 96666f0

Please sign in to comment.