Commit 96666f05 authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

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: 7c1d1677 ("iio: accel: Support Kionix/ROHM KX022A accelerometer")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: default avatarMatti 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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent d6bf6983
...@@ -447,6 +447,8 @@ config IIO_ST_ACCEL_SPI_3AXIS ...@@ -447,6 +447,8 @@ config IIO_ST_ACCEL_SPI_3AXIS
config IIO_KX022A config IIO_KX022A
tristate tristate
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
config IIO_KX022A_SPI config IIO_KX022A_SPI
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface" tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment