]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
spmi: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Mon, 4 May 2015 19:00:46 +0000 (21:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 May 2015 18:55:15 +0000 (11:55 -0700)
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 <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/Kconfig

index c8d99563d2454fe686aaa69b3b7854e34adbb4ce..982580af1d16bb8384d7f0f8a344bd04f81ce372 100644 (file)
@@ -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