From: Chen Gang Date: Sun, 13 Jul 2014 11:44:00 +0000 (+0100) Subject: staging:iio:adc:Kconfig: Let MXS_LRADC depend on HAS_IOMEM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90c5f2d1b8212dde11a3dcc9e87ba3593beeb3ac;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging:iio:adc:Kconfig: Let MXS_LRADC depend on HAS_IOMEM 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 Acked-by: Marek Vasut Signed-off-by: Jonathan Cameron --- 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