From: Nuno Sa Date: Tue, 4 Jun 2024 09:16:58 +0000 (+0200) Subject: iio: adc: adi-axi-adc: add platform dependencies X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9fae1f2aa41963faae96e03175c7684522246ab5;p=users%2Fjedix%2Flinux-maple.git iio: adc: adi-axi-adc: add platform dependencies Being this device a soft core, it's only supported on some/specific platforms. Hence add proper dependencies for the supported platforms. Also add COMPILE_TEST to increase the build coverage. Signed-off-by: Nuno Sa Link: https://lore.kernel.org/r/20240604-dev-axi-adc-kconfig-v1-1-cfb725606b8e@analog.com Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 5030319249c54..3d91015af6eaf 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -353,6 +353,7 @@ config AD9467 config ADI_AXI_ADC tristate "Analog Devices Generic AXI ADC IP core driver" + depends on MICROBLAZE || NIOS2 || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_INTEL_SOCFPGA || COMPILE_TEST select IIO_BUFFER select IIO_BUFFER_HW_CONSUMER select IIO_BUFFER_DMAENGINE