iio: adc: ti-ads1298: Kconfig: add kfifo dependency to fix module build
authorArthur-Prince <r2.arthur.prince@gmail.com>
Wed, 30 Apr 2025 19:07:37 +0000 (16:07 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:20:30 +0000 (14:20 +0100)
Add dependency to Kconfig’s ti-ads1298 because compiling it as a module
failed with an undefined kfifo symbol.

Fixes: 00ef7708fa60 ("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>
Link: https://patch.msgid.link/20250430191131.120831-1-r2.arthur.prince@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index ad06cf5..0fe6601 100644 (file)
@@ -1562,6 +1562,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