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 11:48:12 +0100 |
commit | 5646e856db1e3e2b260c6ba732524e5a886770d5 (patch) | |
tree | 3f9fb965b3002890ecc6252b52058a4f74f8522e /drivers/iio | |
parent | 40f34b0c75c2a633ba647afec41947d8dd3bc920 (diff) | |
download | op-kernel-dev-5646e856db1e3e2b260c6ba732524e5a886770d5.zip op-kernel-dev-5646e856db1e3e2b260c6ba732524e5a886770d5.tar.gz |
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>
Diffstat (limited to 'drivers/iio')
-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 7c55658..eb0cd89 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 |