From: Richard Weinberger Date: Mon, 25 Jan 2016 22:24:03 +0000 (+0100) Subject: staging: iio: Fix dependencies for !HAS_IOMEM archs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e884cebf9ea34f559bc78a474f3fccbc285dcb71;p=linux-beck.git 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 Acked-by: Geert Uytterhoeven Signed-off-by: Jonathan Cameron --- 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