projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33361e5
)
iio:adc:cc10001_adc: fix Kconfig dependency
author
Hartmut Knaack
<knaack.h@gmx.de>
Sun, 21 Jun 2015 10:15:50 +0000
(12:15 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 21 Jun 2015 15:15:20 +0000
(16:15 +0100)
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>
drivers/iio/adc/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/Kconfig
b/drivers/iio/adc/Kconfig
index e36a73e7c3a857775103bb1f9212d56ac2cba09c..1bcb65b8d4a1a482b7754b99e39b0f5517435eb6 100644
(file)
--- a/
drivers/iio/adc/Kconfig
+++ b/
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