diff mbox series

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

Message ID 20241003-ad2s1210-select-v1-5-4019453f8c33@gmail.com (mailing list archive)
State Changes Requested
Headers show
Series iio: {amplifiers,dac,frequency,resolver}: add missing selects in Kconfig | expand

Commit Message

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

Comments

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

Patch

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