iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig

commit bcdab6f74c upstream.

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

Fixes: cbbb819837 ("iio: dac: ad5770r: Add AD5770R support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-6-4019453f8c33@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Javier Carrasco 2024-10-03 18:49:38 +02:00 committed by Greg Kroah-Hartman
parent 64cf93b87f
commit c3a230c1df

View File

@ -224,6 +224,7 @@ config AD5766
config AD5770R config AD5770R
tristate "Analog Devices AD5770R IDAC driver" tristate "Analog Devices AD5770R IDAC driver"
depends on SPI_MASTER depends on SPI_MASTER
select REGMAP_SPI
help help
Say yes here to build support for Analog Devices AD5770R Digital to Say yes here to build support for Analog Devices AD5770R Digital to
Analog Converter. Analog Converter.