iio: adc: ad4695: Add missing Kconfig select
authorDavid Lechner <dlechner@baylibre.com>
Wed, 9 Oct 2024 21:23:04 +0000 (16:23 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 10 Oct 2024 18:10:27 +0000 (19:10 +0100)
Add select IIO_BUFFER and select IIO_TRIGGERED_BUFFER to the Kconfig for
the ad4695 driver.

Fixes: 6cc7e4bf2e08 ("iio: adc: ad4695: implement triggered buffer")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241009-iio-adc-ad4695-fix-kconfig-v1-1-e2a4dfde8d55@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index 1bf915c..6c4e744 100644 (file)
@@ -52,6 +52,8 @@ config AD4695
        tristate "Analog Device AD4695 ADC Driver"
        depends on SPI
        select REGMAP_SPI
+       select IIO_BUFFER
+       select IIO_TRIGGERED_BUFFER
        help
          Say yes here to build support for Analog Devices AD4695 and similar
          analog to digital converters (ADC).