Skip to content

Commit 75461a0

Browse files
javiercarrascocruzjic23
authored andcommitted
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: 16b0526 ("mb1232.c: add distance iio sensor with i2c") Signed-off-by: Javier Carrasco <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 3f7b25f commit 75461a0

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
@@ -86,6 +86,8 @@ config LIDAR_LITE_V2
8686
config MB1232
8787
tristate "MaxSonar I2CXL family ultrasonic sensors"
8888
depends on I2C
89+
select IIO_BUFFER
90+
select IIO_TRIGGERED_BUFFER
8991
help
9092
Say Y to build a driver for the ultrasonic sensors I2CXL of
9193
MaxBotix which have an i2c interface. It can be used to measure

0 commit comments

Comments
 (0)