[PATCH 6/8] iio: dac: ad5770r: 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 6/8] iio: dac: ad5770r: 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: cbbb819837f6 ("iio: dac: ad5770r: Add AD5770R support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/dac/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index 1cfd7e2a622f..3160b10f2752 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -262,6 +262,7 @@ config AD5766
 config AD5770R
 	tristate "Analog Devices AD5770R IDAC driver"
 	depends on SPI_MASTER
+	select REGMAP_SPI
 	help
 	  Say yes here to build support for Analog Devices AD5770R Digital to
 	  Analog Converter.

-- 
2.43.0
Re: [PATCH 6/8] iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Thu, 03 Oct 2024 18:49:38 +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: cbbb819837f6 ("iio: dac: ad5770r: Add AD5770R support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied
> ---
>  drivers/iio/dac/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index 1cfd7e2a622f..3160b10f2752 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -262,6 +262,7 @@ config AD5766
>  config AD5770R
>  	tristate "Analog Devices AD5770R IDAC driver"
>  	depends on SPI_MASTER
> +	select REGMAP_SPI
>  	help
>  	  Say yes here to build support for Analog Devices AD5770R Digital to
>  	  Analog Converter.
>