Skip to content

Commit

Permalink
iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
commodo authored and jic23 committed Jun 14, 2020
1 parent 18d5638 commit 4027860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4027860

Please sign in to comment.