summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2016-01-02 14:04:40 +0100
committerJonathan Cameron <jic23@kernel.org>2016-01-04 11:37:16 +0000
commit005ce0713006a76d2b0c924ce0e2629e5d8510c3 (patch)
treec4dfd857a28c2bdb5747e0a87c953d8254553b89 /drivers/iio
parent01cc5235604d61018712c11a14d74230f6a38bf4 (diff)
downloadlinux-005ce0713006a76d2b0c924ce0e2629e5d8510c3.tar.bz2
iio: add HAS_IOMEM dependency to VF610_ADC
Ran into this on UML: drivers/built-in.o: In function `vf610_adc_probe': drivers/iio/adc/vf610_adc.c:744: undefined reference to `devm_ioremap_resource' devm_ioremap_resource() is defined only when HAS_IOMEM is selected. Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 7868c744fd4b..1e7aded53117 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -372,6 +372,7 @@ config TWL6030_GPADC
config VF610_ADC
tristate "Freescale vf610 ADC driver"
depends on OF
+ depends on HAS_IOMEM
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help