diff options
author | Hartmut Knaack <knaack.h@gmx.de> | 2015-06-21 12:15:50 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-07-19 12:48:12 +0200 |
commit | 5646e856db1e3e2b260c6ba732524e5a886770d5 (patch) | |
tree | 3f9fb965b3002890ecc6252b52058a4f74f8522e | |
parent | iio: light: tcs3414: Fix bug preventing to set integration time (diff) | |
download | linux-5646e856db1e3e2b260c6ba732524e5a886770d5.tar.xz linux-5646e856db1e3e2b260c6ba732524e5a886770d5.zip |
iio:adc:cc10001_adc: fix Kconfig dependency
The Cosmic Circuits 10001 ADC driver depends on HAS_IOMEM, HAVE_CLK and
REGULATOR together, not just any of these.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/adc/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 7c5565891cb8..eb0cd897714a 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -153,8 +153,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 |