From: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> commit eb143d05def52bc6d193e813018e5fa1a0e47c77 upstream. 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: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code") Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> Link: https://patch.msgid.link/20241003-iio-select-v1-3-67c0385197cd@xxxxxxxxx Cc: <Stable@xxxxxxxxxxxxxxx> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -992,6 +992,8 @@ config TI_ADS8688 config TI_ADS124S08 tristate "Texas Instruments ADS124S08" depends on SPI && OF + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help If you say yes here you get support for Texas Instruments ADS124S08 and ADS124S06 ADC chips Patches currently in stable-queue which might be from javier.carrasco.cruz@xxxxxxxxx are queue-5.4/iio-proximity-mb1232-add-missing-select-iio_-triggered_-buffer-in-kconfig.patch queue-5.4/iio-adc-ti-ads124s08-add-missing-select-iio_-triggered_-buffer-in-kconfig.patch queue-5.4/iio-dac-ltc1660-add-missing-select-regmap_spi-in-kconfig.patch queue-5.4/iio-dac-stm32-dac-core-add-missing-select-regmap_mmio-in-kconfig.patch queue-5.4/iio-adc-ti-ads8688-add-missing-select-iio_-triggered_-buffer-in-kconfig.patch