summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/iio/adc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/iio/adc/Kconfig')
-rw-r--r--kernel/drivers/iio/adc/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/iio/adc/Kconfig b/kernel/drivers/iio/adc/Kconfig
index e36a73e7c..1bcb65b8d 100644
--- a/kernel/drivers/iio/adc/Kconfig
+++ b/kernel/drivers/iio/adc/Kconfig
@@ -146,8 +146,7 @@ config DA9150_GPADC
config CC10001_ADC
tristate "Cosmic Circuits 10001 ADC driver"
- depends on HAVE_CLK || REGULATOR
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && HAVE_CLK && REGULATOR
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help