summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-16 22:27:10 +0100
committerJonathan Cameron <jic23@kernel.org>2015-03-28 11:59:31 +0000
commitbbc45f3ab78edb8c97e563ddd351f851da47dab1 (patch)
tree7e8964a8c2558ceec009e2feec72f9e202f72637 /drivers/iio
parent3d8bbe243dc7418b4b2eadcbf5693887d076a521 (diff)
downloadop-kernel-dev-bbc45f3ab78edb8c97e563ddd351f851da47dab1.zip
op-kernel-dev-bbc45f3ab78edb8c97e563ddd351f851da47dab1.tar.gz
iio/adc/cc10001_adc.c: Fix !HAS_IOMEM build
Fixes: drivers/built-in.o: In function `cc10001_adc_probe': cc10001_adc.c:(.text+0x412e92): undefined reference to `devm_ioremap_resource' Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 202daf8..46379b1 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -137,7 +137,8 @@ config AXP288_ADC
config CC10001_ADC
tristate "Cosmic Circuits 10001 ADC driver"
- depends on HAS_IOMEM || HAVE_CLK || REGULATOR
+ depends on HAVE_CLK || REGULATOR
+ depends on HAS_IOMEM
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help
OpenPOWER on IntegriCloud