From: Alexandru Ardelean Date: Sun, 26 Sep 2021 19:26:42 +0000 (+0300) Subject: iio: adc: Kconfig: add COMPILE_TEST dep for berlin2-adc X-Git-Tag: v6.6.17~8913^2~23^2~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9;p=platform%2Fkernel%2Flinux-rpi.git iio: adc: Kconfig: add COMPILE_TEST dep for berlin2-adc Otherwise most build checks will omit this driver from a compile-test due to it's dependency only on the BERLIN_ARCH symbol. Signed-off-by: Alexandru Ardelean Link: https://lore.kernel.org/r/20210926192642.4051329-2-aardelean@deviqon.com Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 0ceea8e..8bf5b62 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -354,7 +354,7 @@ config BCM_IPROC_ADC config BERLIN2_ADC tristate "Marvell Berlin2 ADC driver" - depends on ARCH_BERLIN + depends on ARCH_BERLIN || COMPILE_TEST help Marvell Berlin2 ADC driver. This ADC has 8 channels, with one used for temperature measurement.