aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-05-25 13:27:44 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-06-14 11:49:52 +0100
commit4027860dcc4cd0c45c36bae21e45bee5a17f2f0f (patch)
tree515ba381610414bc2788fb2fd0784bf955a37833 /drivers/iio/adc/Kconfig
parentiio: make iio_device_get_drvdata take a const struct iio_dev *. (diff)
downloadlinux-dev-4027860dcc4cd0c45c36bae21e45bee5a17f2f0f.tar.xz
linux-dev-4027860dcc4cd0c45c36bae21e45bee5a17f2f0f.zip
iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
Since changes can come from all sort of places, it may make sense to have this symbol as a dependency to make sure that the 'make allmodconfig' && 'make allyesconfig' build rules cover this driver as well for a compile-build/test. It seemed useful [recently] when trying to apply a change for this. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/Kconfig')
-rw-r--r--drivers/iio/adc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index ff3569635ce0..c4d32991163f 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -294,7 +294,7 @@ config ASPEED_ADC
config AT91_ADC
tristate "Atmel AT91 ADC"
- depends on ARCH_AT91
+ depends on ARCH_AT91 || COMPILE_TEST
depends on INPUT && SYSFS
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER