Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
javiercarrascocruz authored and gregkh committed Oct 22, 2024
1 parent 05ef291 commit 63c757e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/iio/proximity/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ config LIDAR_LITE_V2
config MB1232
tristate "MaxSonar I2CXL family ultrasonic sensors"
depends on I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
Say Y to build a driver for the ultrasonic sensors I2CXL of
MaxBotix which have an i2c interface. It can be used to measure
Expand Down

0 comments on commit 63c757e

Please sign in to comment.