iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig

commit b7983033a10baa0d98784bb411b2679bfb207d9a upstream.

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

Fixes: 28b4c30bfa ("iio: amplifiers: ada4250: add support for ADA4250")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-5-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:37 +02:00 committed by Greg Kroah-Hartman
parent 0ee119cf7d
commit cdfc07bbf8

View File

@ -26,6 +26,7 @@ config AD8366
config ADA4250 config ADA4250
tristate "Analog Devices ADA4250 Instrumentation Amplifier" tristate "Analog Devices ADA4250 Instrumentation Amplifier"
depends on SPI depends on SPI
select REGMAP_SPI
help help
Say yes here to build support for Analog Devices ADA4250 Say yes here to build support for Analog Devices ADA4250
SPI Amplifier's support. The driver provides direct access via SPI Amplifier's support. The driver provides direct access via