From: Samuel Moelius Date: Tue, 2 Jun 2026 16:45:39 +0000 (+0000) Subject: iio: adc: ad7380: select REGMAP X-Git-Tag: v7.2-rc3~3^2^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6697091b386a4e2830bdd38512c87a4befff2b32;p=thirdparty%2Fkernel%2Flinux.git iio: adc: ad7380: select REGMAP The AD7380 driver uses generic regmap types and APIs. However, its Kconfig entry does not select REGMAP. As a result, AD7380 can be enabled from an allnoconfig-derived config with SPI_MASTER=y while REGMAP remains unset, causing ad7380.o to fail to build. Fixes: b095217c104b ("iio: adc: ad7380: new driver for AD7380 ADCs") Signed-off-by: Samuel Moelius Reviewed-by: Andy Shevchenko Reviewed-by: Nuno Sá Cc: Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 1c663c98c6c96..6fb0766ca27a4 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -328,6 +328,7 @@ config AD7298 config AD7380 tristate "Analog Devices AD7380 ADC driver" depends on SPI_MASTER + select REGMAP select SPI_OFFLOAD select IIO_BUFFER select IIO_BUFFER_DMAENGINE