[PATCH v2 2/2] iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig

From: Javier Carrasco
Date: Mon Oct 07 2024 - 16:07:19 EST


This driver makes use of regmap_spi, but does not select the required
module.
Add the missing 'select REGMAP_SPI'.

Fixes: b59c04155901 ("iio: frequency: admv4420.c: Add support for ADMV4420")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
---
drivers/iio/frequency/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/iio/frequency/Kconfig b/drivers/iio/frequency/Kconfig
index 7b1a7ed163ce..583cbdf4e8cd 100644
--- a/drivers/iio/frequency/Kconfig
+++ b/drivers/iio/frequency/Kconfig
@@ -94,6 +94,7 @@ config ADMV1014
config ADMV4420
tristate "Analog Devices ADMV4420 K Band Downconverter"
depends on SPI
+ select REGMAP_SPI
help
Say yes here to build support for Analog Devices K Band
Downconverter with integrated Fractional-N PLL and VCO.

--
2.43.0