diff mbox series

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

Message ID 20241003-iio-select-v1-5-67c0385197cd@gmail.com (mailing list archive)
State Accepted
Headers show
Series iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER | expand

Commit Message

Javier Carrasco Oct. 3, 2024, 9:04 p.m. UTC
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(+)

Comments

Jonathan Cameron Oct. 5, 2024, 5:50 p.m. UTC | #1
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.
>
diff mbox series

Patch

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.