summaryrefslogtreecommitdiffstats
path: root/drivers/iio/pressure/Kconfig
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-03 23:04:58 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-06 17:30:02 +0200
commit3f7b25f6ad0925b9ae9b70656a49abb5af111483 (patch)
treef9420ce75665eb614346ec97ea8e9b6722713af3 /drivers/iio/pressure/Kconfig
parentiio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig (diff)
downloadlinux-3f7b25f6ad0925b9ae9b70656a49abb5af111483.tar.xz
linux-3f7b25f6ad0925b9ae9b70656a49abb5af111483.zip
iio: pressure: bm1390: 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'. Note the original driver patch had wrong part number hence the odd fixes entry. Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/20241003-iio-select-v1-12-67c0385197cd@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to '')
-rw-r--r--drivers/iio/pressure/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index df65438c771e..d2cb8c871f6a 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -19,6 +19,9 @@ config ABP060MG
config ROHM_BM1390
tristate "ROHM BM1390GLV-Z pressure sensor driver"
depends on I2C
+ select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
can measure pressures ranging from 300 hPa to 1300 hPa with