Re: [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig

From: Jonathan Cameron
Date: Sat Oct 05 2024 - 13:50:40 EST


On Thu, 03 Oct 2024 23:04:51 +0200
Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx> wrote:

> This driver makes use of regmap_spi, but does not select the required
> module.
> Add the missing 'select REGMAP_SPI'.
>
> Fixes: 627198942641 ("iio: adc: add ADC driver for the TI LMP92064 controller")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
Applied to the fixes-togreg branch of iio.git.

Thanks,

J
> ---
> drivers/iio/adc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index e6be1f1ec79f..1206a5487334 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -1531,6 +1531,7 @@ config TI_AM335X_ADC
> config TI_LMP92064
> tristate "Texas Instruments LMP92064 ADC driver"
> depends on SPI
> + select REGMAP_SPI
> help
> Say yes here to build support for the LMP92064 Precision Current and Voltage
> sensor.
>