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

Javier Carrasco posted 13 patches 1 month, 3 weeks ago
[PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
Posted by Javier Carrasco 1 month, 3 weeks ago
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@gmail.com>
---
 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.

-- 
2.43.0
Re: [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Thu, 03 Oct 2024 23:04:51 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> 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@gmail.com>
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.
>