diff options
author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-09-26 22:26:42 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-19 08:27:35 +0100 |
commit | 8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9 (patch) | |
tree | dc47bae28b4c6223c9a9461a2adce3a8e12fc6d5 /drivers | |
parent | 461a1c79e7146916a62a7be106f59ed929c73492 (diff) | |
download | linux-stable-8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9.tar.gz linux-stable-8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9.tar.bz2 linux-stable-8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9.zip |
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 <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210926192642.4051329-2-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iio/adc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 0ceea8e69e3c..8bf5b62a73f4 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. |