Skip to content

Commit 3f7b25f

Browse files
javiercarrascocruzjic23
authored andcommitted
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: 81ca597 ("iio: pressure: Support ROHM BU1390") Signed-off-by: Javier Carrasco <[email protected]> Acked-by: Matti Vaittinen <[email protected]> Link: https://patch.msgid.link/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent fbb9138 commit 3f7b25f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/iio/pressure/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ config ABP060MG
1919
config ROHM_BM1390
2020
tristate "ROHM BM1390GLV-Z pressure sensor driver"
2121
depends on I2C
22+
select REGMAP_I2C
23+
select IIO_BUFFER
24+
select IIO_TRIGGERED_BUFFER
2225
help
2326
Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
2427
can measure pressures ranging from 300 hPa to 1300 hPa with

0 commit comments

Comments
 (0)