Skip to content

Commit ad60bbd

Browse files
javiercarrascocruzgregkh
authored andcommitted
iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
commit 75461a0 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: 16b0526 ("mb1232.c: add distance iio sensor with i2c") Signed-off-by: Javier 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: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1fcc9d6 commit ad60bbd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/iio/proximity/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ config LIDAR_LITE_V2
7272
config MB1232
7373
tristate "MaxSonar I2CXL family ultrasonic sensors"
7474
depends on I2C
75+
select IIO_BUFFER
76+
select IIO_TRIGGERED_BUFFER
7577
help
7678
Say Y to build a driver for the ultrasonic sensors I2CXL of
7779
MaxBotix which have an i2c interface. It can be used to measure

0 commit comments

Comments
 (0)