Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: adc: Kconfig: add kfifo dependency to fix module build
@ 2025-04-30 19:07 r2.arthur.prince
  2025-05-04 16:46 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: r2.arthur.prince @ 2025-04-30 19:07 UTC (permalink / raw)
  To: linux-iio; +Cc: arthur.prince, jic23, Arthur-Prince, Mariana Valério

From: Arthur-Prince <r2.arthur.prince@gmail.com>

Add dependency to Kconfig’s ti-ads1298 because compiling it as a module
failed with an undefined kfifo symbol.

Fixes: 00ef7708fa6 ("iio: adc: ti-ads1298: Add driver")
Signed-off-by: Arthur-Prince <r2.arthur.prince@gmail.com>
Co-developed-by: Mariana Valério <mariana.valerio2@hotmail.com>
Signed-off-by: Mariana Valério <mariana.valerio2@hotmail.com>
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 849c90203071..513f2238fdee 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1492,6 +1492,7 @@ config TI_ADS1298
 	tristate "Texas Instruments ADS1298"
 	depends on SPI
 	select IIO_BUFFER
+	select IIO_KFIFO_BUF
 	help
 	  If you say yes here you get support for Texas Instruments ADS1298
 	  medical ADC chips
-- 
2.45.2


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

end of thread, other threads:[~2025-05-07 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 19:07 [PATCH] iio: adc: Kconfig: add kfifo dependency to fix module build r2.arthur.prince
2025-05-04 16:46 ` Jonathan Cameron
2025-05-07 18:49   ` Jonathan Cameron

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