[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241003-iio-select-v1-12-67c0385197cd@gmail.com>
Date: Thu, 03 Oct 2024 23:04:58 +0200
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Matti Vaittinen <mazziesaccount@...il.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
David Lechner <dlechner@...libre.com>, Nuno Sa <nuno.sa@...log.com>,
Dan Murphy <dmurphy@...com>, Sean Nyekjaer <sean@...nix.com>,
Leonard Göhrs <l.goehrs@...gutronix.de>,
Mihail Chindris <mihail.chindris@...log.com>,
Alexandru Ardelean <ardeleanalex@...il.com>,
Gustavo Silva <gustavograzs@...il.com>, Shoji Keita <awaittrot@...k.jp>,
Andrey Skvortsov <andrej.skvortzov@...il.com>,
Dalton Durst <dalton@...orts.com>, Icenowy Zheng <icenowy@...c.io>,
Andreas Klinger <ak@...klinger.de>
Cc: Jonathan Cameron <Jonathan.Cameron@...wei.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Ondrej Jirman <megi@....cz>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Subject: [PATCH 12/13] iio: pressure: bu1390: 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: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
---
drivers/iio/pressure/Kconfig | 3 +++
1 file changed, 3 insertions(+)
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
--
2.43.0
Powered by blists - more mailing lists