drivers/staging/iio/adc/Kconfig: Let MXS_LRADC depend on HAS_IOMEM
Subsystems (3)
PATCH 1/1 drivers/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!
--- drivers/staging/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/adc/Kconfig +1 -1
@@ -94,7 +94,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
Signature · 1 line
1.7.11.7
Quoted 10 lines · Chen Gang
MXS_LRADCneedHAS_IOMEM, so let it depend onHAS_IOMEMThe 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 <[email protected]>
Best regards,
Marek Vasut
Quoted 5 lines · Marek Vasut
Quoted 4 lines · Chen Gang
MXS_LRADCneedHAS_IOMEM, so let it depend onHAS_IOMEMThe related error (with allmodconfig under score):
Quoted 8 lines
Quoted 6 lines
MODPOST 1365 modules
ERROR: "devm_ioremap_resource" [drivers/staging/iio/adc/mxs-lradc.ko]
undefined!Signed-off-by Chen Gang <[email protected]>Acked-by Marek Vasut <[email protected]>
Applied to the togreg branch of iio.git.
Thanks,
Quoted 4 lines
Best regards,
Marek Vasut