Skip to contentSkip to conversation

iio: adc: Kconfig: fix undefined kfifo symbol in ti-ads1298 module build

PATCH In review [email protected] 2 participants 2 messages Apr 28, 2025 – May 4, 2025 IIO

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iio: adc: Kconfig: fix undefined kfifo symbol in ti-ads1298 module build

From: Arthur-Prince <[email protected]>

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

---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 849c90203071..513f2238fdee 100644
@@ -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
Signature · 1 line
2.45.2
maintainer
#1 lore raw
Quoted 8 lines · On Mon, 28 Apr 2025 19:32:45 -0300 [email protected] wrote:

From: Arthur-Prince <[email protected]>

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

Hi.

Rather confusingly you sent the same patch under a different title a few days later. Please be careful not to do that as it confuses me ;)

Anyhow, no harm done. I applied the other one.

Jonathan

Quoted 16 lines
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index 849c90203071..513f2238fdee 100644
@@ -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