summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-10-09 23:23:04 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-10-10 20:10:27 +0200
commit66cf4455f3aba1d7dab4be7f4d8f95dc334ae46e (patch)
treee362fccb8a96506c381e1d7494eed855e3a2a77d
parentiio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig (diff)
downloadlinux-66cf4455f3aba1d7dab4be7f4d8f95dc334ae46e.tar.xz
linux-66cf4455f3aba1d7dab4be7f4d8f95dc334ae46e.zip
iio: adc: ad4695: Add missing Kconfig select
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>
-rw-r--r--drivers/iio/adc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 1bf915c3d053..6c4e74420fd2 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -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).