diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-25 23:24:03 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-30 15:47:51 +0000 |
commit | e884cebf9ea34f559bc78a474f3fccbc285dcb71 (patch) | |
tree | 7376b79e2beb1056db2e6efb2a103361ab208c0b /drivers | |
parent | 0165c3005fd64f850b1bbfe2fd24b916a161b696 (diff) | |
download | linux-e884cebf9ea34f559bc78a474f3fccbc285dcb71.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/adc/Kconfig | 1 |
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 |