summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity/Kconfig
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-03 23:04:59 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-06 16:30:15 +0100
commit75461a0b15d7c026924d0001abce0476bbc7eda8 (patch)
treef0432a5e83f803eb5f51ae678a49253bf0f13ad0 /drivers/iio/proximity/Kconfig
parent3f7b25f6ad0925b9ae9b70656a49abb5af111483 (diff)
downloadlinux-75461a0b15d7c026924d0001abce0476bbc7eda8.tar.gz
linux-75461a0b15d7c026924d0001abce0476bbc7eda8.tar.bz2
linux-75461a0b15d7c026924d0001abce0476bbc7eda8.zip
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: 16b05261537e ("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>
Diffstat (limited to 'drivers/iio/proximity/Kconfig')
-rw-r--r--drivers/iio/proximity/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index 31c679074b25..a562a78b7d0d 100644
--- a/drivers/iio/proximity/Kconfig
+++ b/drivers/iio/proximity/Kconfig
@@ -86,6 +86,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