浏览代码

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>
Richard Weinberger 9 年之前
父节点
当前提交
e884cebf9e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/staging/iio/adc/Kconfig

+ 1 - 0
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