diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2014-07-13 12:44:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-13 19:44:02 +0100 |
commit | 90c5f2d1b8212dde11a3dcc9e87ba3593beeb3ac (patch) | |
tree | eb27075d9386bcab3113d41e0b4d6996d3467681 | |
parent | a3fb96a8c02ae4fa19d9f68f6f3e6bd53c70cd86 (diff) |
staging:iio:adc:Kconfig: Let MXS_LRADC depend on HAS_IOMEMiio-for-3.17c
MXS_LRADC need HAS_IOMEM, so let it depend on HAS_IOMEM
The related error (with allmodconfig under score):
MODPOST 1365 modules
ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko] undefined!
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/staging/iio/adc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/Kconfig b/drivers/staging/iio/adc/Kconfig index 75d2d1bf93d1..d01c7076a342 100644 --- a/drivers/staging/iio/adc/Kconfig +++ b/drivers/staging/iio/adc/Kconfig @@ -87,7 +87,7 @@ config LPC32XX_ADC config MXS_LRADC tristate "Freescale i.MX23/i.MX28 LRADC" - depends on ARCH_MXS || COMPILE_TEST + depends on (ARCH_MXS || COMPILE_TEST) && HAS_IOMEM depends on INPUT select STMP_DEVICE select IIO_BUFFER |