[PATCH 5/8] iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig

Javier Carrasco posted 8 patches 1 month, 3 weeks ago
There is a newer version of this series
[PATCH 5/8] iio: amplifiers: ada4250: 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: 28b4c30bfa5f ("iio: amplifiers: ada4250: add support for ADA4250")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/amplifiers/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/amplifiers/Kconfig b/drivers/iio/amplifiers/Kconfig
index b54fe01734b0..55eb16b32f6c 100644
--- a/drivers/iio/amplifiers/Kconfig
+++ b/drivers/iio/amplifiers/Kconfig
@@ -27,6 +27,7 @@ config AD8366
 config ADA4250
 	tristate "Analog Devices ADA4250 Instrumentation Amplifier"
 	depends on SPI
+	select REGMAP_SPI
 	help
 	  Say yes here to build support for Analog Devices ADA4250
 	  SPI Amplifier's support. The driver provides direct access via

-- 
2.43.0
Re: [PATCH 5/8] iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Thu, 03 Oct 2024 18:49:37 +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: 28b4c30bfa5f ("iio: amplifiers: ada4250: add support for ADA4250")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied.
> ---
>  drivers/iio/amplifiers/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/amplifiers/Kconfig b/drivers/iio/amplifiers/Kconfig
> index b54fe01734b0..55eb16b32f6c 100644
> --- a/drivers/iio/amplifiers/Kconfig
> +++ b/drivers/iio/amplifiers/Kconfig
> @@ -27,6 +27,7 @@ config AD8366
>  config ADA4250
>  	tristate "Analog Devices ADA4250 Instrumentation Amplifier"
>  	depends on SPI
> +	select REGMAP_SPI
>  	help
>  	  Say yes here to build support for Analog Devices ADA4250
>  	  SPI Amplifier's support. The driver provides direct access via
>