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 12:59:31 +0100
commitbbc45f3ab78edb8c97e563ddd351f851da47dab1 (patch)
tree7e8964a8c2558ceec009e2feec72f9e202f72637 /drivers/iio
parentMerge tag 'iio-fixes-for-4.0c' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-bbc45f3ab78edb8c97e563ddd351f851da47dab1.tar.xz
linux-bbc45f3ab78edb8c97e563ddd351f851da47dab1.zip
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 202daf889be2..46379b1fb25b 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