Commit 75461a0b authored by Javier Carrasco's avatar Javier Carrasco Committed by Jonathan Cameron

iio: proximity: mb1232: 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: 16b05261 ("mb1232.c: add distance iio sensor with i2c")
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-13-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3f7b25f6
...@@ -86,6 +86,8 @@ config LIDAR_LITE_V2 ...@@ -86,6 +86,8 @@ config LIDAR_LITE_V2
config MB1232 config MB1232
tristate "MaxSonar I2CXL family ultrasonic sensors" tristate "MaxSonar I2CXL family ultrasonic sensors"
depends on I2C depends on I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help help
Say Y to build a driver for the ultrasonic sensors I2CXL of Say Y to build a driver for the ultrasonic sensors I2CXL of
MaxBotix which have an i2c interface. It can be used to measure MaxBotix which have an i2c interface. It can be used to measure
......
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