diff mbox series

[3/8] iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig

Message ID 20241003-ad2s1210-select-v1-3-4019453f8c33@gmail.com (mailing list archive)
State Accepted
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: eda549e2e524 ("iio: frequency: adf4377: add support for ADF4377")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
 drivers/iio/frequency/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jonathan Cameron Oct. 6, 2024, 1:26 p.m. UTC | #1
On Thu, 03 Oct 2024 18:49:35 +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: eda549e2e524 ("iio: frequency: adf4377: add support for ADF4377")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied.

> ---
>  drivers/iio/frequency/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/frequency/Kconfig b/drivers/iio/frequency/Kconfig
> index c455be7d4a1c..89ae09db5ca5 100644
> --- a/drivers/iio/frequency/Kconfig
> +++ b/drivers/iio/frequency/Kconfig
> @@ -53,6 +53,7 @@ config ADF4371
>  config ADF4377
>  	tristate "Analog Devices ADF4377 Microwave Wideband Synthesizer"
>  	depends on SPI && COMMON_CLK
> +	select REGMAP_SPI
>  	help
>  	  Say yes here to build support for Analog Devices ADF4377 Microwave
>  	  Wideband Synthesizer.
>
diff mbox series

Patch

diff --git a/drivers/iio/frequency/Kconfig b/drivers/iio/frequency/Kconfig
index c455be7d4a1c..89ae09db5ca5 100644
--- a/drivers/iio/frequency/Kconfig
+++ b/drivers/iio/frequency/Kconfig
@@ -53,6 +53,7 @@  config ADF4371
 config ADF4377
 	tristate "Analog Devices ADF4377 Microwave Wideband Synthesizer"
 	depends on SPI && COMMON_CLK
+	select REGMAP_SPI
 	help
 	  Say yes here to build support for Analog Devices ADF4377 Microwave
 	  Wideband Synthesizer.