summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-01-25 23:24:03 +0100
committerJonathan Cameron <jic23@kernel.org>2016-01-30 15:47:51 +0000
commite884cebf9ea34f559bc78a474f3fccbc285dcb71 (patch)
tree7376b79e2beb1056db2e6efb2a103361ab208c0b
parent0165c3005fd64f850b1bbfe2fd24b916a161b696 (diff)
downloadlinux-stable-e884cebf9ea34f559bc78a474f3fccbc285dcb71.tar.gz
linux-stable-e884cebf9ea34f559bc78a474f3fccbc285dcb71.tar.bz2
linux-stable-e884cebf9ea34f559bc78a474f3fccbc285dcb71.zip
staging: iio: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/staging/iio/adc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig
index 94ae4232ee77..c0a977d82657 100644
--- a/drivers/staging/iio/adc/Kconfig
+++ b/drivers/staging/iio/adc/Kconfig
@@ -6,6 +6,7 @@ menu "Analog to digital converters"
config AD7606
tristate "Analog Devices AD7606 ADC driver"
depends on GPIOLIB || COMPILE_TEST
+ depends on HAS_IOMEM
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
help