Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF
@ 2024-06-05 20:38 A. Sverdlin
  2024-06-06  7:01 ` Sean Nyekjaer
  0 siblings, 1 reply; 3+ messages in thread
From: A. Sverdlin @ 2024-06-05 20:38 UTC (permalink / raw)
  To: linux-iio
  Cc: Alexander Sverdlin, Jonathan Cameron, Lars-Peter Clausen,
	Sean Nyekjaer, stable

From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

Provide missing symbols to the module:
ERROR: modpost: iio_push_to_buffers [drivers/iio/accel/fxls8962af-core.ko] undefined!
ERROR: modpost: devm_iio_kfifo_buffer_setup_ext [drivers/iio/accel/fxls8962af-core.ko] undefined!

Cc: stable@vger.kernel.org
Fixes: 79e3a5bdd9ef ("iio: accel: fxls8962af: add hw buffered sampling")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
---
 drivers/iio/accel/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index c2da5066e9a7b..80b57d3ee3a72 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -330,6 +330,8 @@ config DMARD10
 config FXLS8962AF
 	tristate
 	depends on I2C || !I2C # cannot be built-in for modular I2C
+	select IIO_BUFFER
+	select IIO_KFIFO_BUF
 
 config FXLS8962AF_I2C
 	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-08 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 20:38 [PATCH] iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF A. Sverdlin
2024-06-06  7:01 ` Sean Nyekjaer
2024-06-08 17:53   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox