iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Thu, 3 Oct 2024 21:04:51 +0000 (23:04 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Oct 2024 15:28:19 +0000 (16:28 +0100)
This driver makes use of regmap_spi, but does not select the required
module.
Add the missing 'select REGMAP_SPI'.

Fixes: 627198942641 ("iio: adc: add ADC driver for the TI LMP92064 controller")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241003-iio-select-v1-5-67c0385197cd@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index 45872a4..68640fa 100644 (file)
@@ -1529,6 +1529,7 @@ config TI_AM335X_ADC
 config TI_LMP92064
        tristate "Texas Instruments LMP92064 ADC driver"
        depends on SPI
+       select REGMAP_SPI
        help
          Say yes here to build support for the LMP92064 Precision Current and Voltage
          sensor.