Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: resolver: ad2s1210 add missing select REGMAP in Kconfig

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

Fixes: b3689e14415a ("staging: iio: resolver: ad2s1210: use regmap for config registers")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241003-ad2s1210-select-v1-1-4019453f8c33@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Javier Carrasco and committed by
Jonathan Cameron
17a99360 75461a0b

+1
+1
drivers/iio/resolver/Kconfig
··· 31 31 depends on SPI 32 32 depends on COMMON_CLK 33 33 depends on GPIOLIB || COMPILE_TEST 34 + select REGMAP 34 35 help 35 36 Say yes here to build support for Analog Devices spi resolver 36 37 to digital converters, ad2s1210, provides direct access via sysfs.