From: Richard Weinberger Date: Mon, 4 May 2015 19:00:46 +0000 (+0200) Subject: spmi: Add dependency on HAS_IOMEM X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=61a590fa67ac3c897e7c21fd75a5c85a4671b384;p=linux.git spmi: Add dependency on HAS_IOMEM Not all architectures have io memory. Fixes: drivers/built-in.o: In function `spmi_pmic_arb_probe': spmi-pmic-arb.c:(.text+0x1ed399): undefined reference to `devm_ioremap_resource' Signed-off-by: Richard Weinberger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig index c8d99563d2454..982580af1d16b 100644 --- a/drivers/spmi/Kconfig +++ b/drivers/spmi/Kconfig @@ -14,6 +14,7 @@ config SPMI_MSM_PMIC_ARB tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" depends on IRQ_DOMAIN depends on ARCH_QCOM || COMPILE_TEST + depends on HAS_IOMEM default ARCH_QCOM help If you say yes to this option, support will be included for the