Message ID | 20240604-dev-axi-adc-kconfig-v1-1-cfb725606b8e@analog.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: adc: adi-axi-adc: add platform dependencies | expand |
On Tue, 04 Jun 2024 11:16:58 +0200 Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@kernel.org> wrote: > From: Nuno Sa <nuno.sa@analog.com> > > 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. People build kernels without COMPILE_TEST? Weird :) Applied > > Signed-off-by: Nuno Sa <nuno.sa@analog.com> > --- > drivers/iio/adc/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > index 5030319249c5..3d91015af6ea 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 > > --- > base-commit: b3019fcdeb286b2cfe45e44bccb44dbcd8ff66dd > change-id: 20240604-dev-axi-adc-kconfig-1058732cb384 > -- > > Thanks! > - Nuno Sá > >
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 5030319249c5..3d91015af6ea 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