[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1430766046-401-1-git-send-email-richard@nod.at>
Date: Mon, 4 May 2015 21:00:46 +0200
From: Richard Weinberger <richard@....at>
To: gregkh@...uxfoundation.org
Cc: ivan.ivanov@...aro.org, linux-kernel@...r.kernel.org,
Richard Weinberger <richard@....at>
Subject: [PATCH] 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 <richard@....at>
---
drivers/spmi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spmi/Kconfig b/drivers/spmi/Kconfig
index c8d9956..982580a 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
--
1.8.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists