OSDN Git Service

iio: adc: Kconfig: add COMPILE_TEST dep for berlin2-adc
authorAlexandru Ardelean <aardelean@deviqon.com>
Sun, 26 Sep 2021 19:26:42 +0000 (22:26 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 19 Oct 2021 07:27:35 +0000 (08:27 +0100)
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 <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210926192642.4051329-2-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index 0ceea8e..8bf5b62 100644 (file)
@@ -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.