lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241003-iio-select-v1-13-67c0385197cd@gmail.com>
Date: Thu, 03 Oct 2024 23:04:59 +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 13/13] 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@...il.com>
---
 drivers/iio/proximity/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

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

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ