[PATCH 7/8] iio: dac: ltc1660: 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 7/8] iio: dac: ltc1660: 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: 8316cebd1e59 ("iio: dac: add support for ltc1660")
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 3160b10f2752..f13daf0fd9f7 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -354,6 +354,7 @@ config LPC18XX_DAC
 config LTC1660
 	tristate "Linear Technology LTC1660/LTC1665 DAC SPI driver"
 	depends on SPI
+	select REGMAP_SPI
 	help
 	  Say yes here to build support for Linear Technology
 	  LTC1660 and LTC1665 Digital to Analog Converters.

-- 
2.43.0
Re: [PATCH 7/8] iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
Posted by Jonathan Cameron 1 month, 3 weeks ago
On Thu, 03 Oct 2024 18:49:39 +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: 8316cebd1e59 ("iio: dac: add support for ltc1660")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied to the fixes-togreg branch of iio.git.

> ---
>  drivers/iio/dac/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index 3160b10f2752..f13daf0fd9f7 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -354,6 +354,7 @@ config LPC18XX_DAC
>  config LTC1660
>  	tristate "Linear Technology LTC1660/LTC1665 DAC SPI driver"
>  	depends on SPI
> +	select REGMAP_SPI
>  	help
>  	  Say yes here to build support for Linear Technology
>  	  LTC1660 and LTC1665 Digital to Analog Converters.
>