* [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM
@ 2016-10-02 21:53 Linus Walleij
2016-10-03 5:24 ` Olof Johansson
2016-10-03 19:04 ` Stephen Boyd
0 siblings, 2 replies; 4+ messages in thread
From: Linus Walleij @ 2016-10-02 21:53 UTC (permalink / raw)
To: linux-arm-kernel
After being asked to not depend on ARCH_QCOM* or similar,
unsurprisingly compilation fails on UM as it has no I/O
memory:
drivers/built-in.o: In function `qcom_ebi2_probe':
>> drivers/bus/qcom-ebi2.c:333: undefined reference to
`devm_ioremap_resource'
Fix this by letting the Kconfig atleast depend on HAS_IOMEM.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andy Gross <andy.gross@linaro.org>
Cc: linux-arm-msm at vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC maintainers: please apply this directly on the offending
branch, or line it up for v4.9 fixes.
---
drivers/bus/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 5a2d47c71525..7010dcac9328 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -110,6 +110,7 @@ config OMAP_OCP2SCP
config QCOM_EBI2
bool "Qualcomm External Bus Interface 2 (EBI2)"
+ depends on HAS_IOMEM
help
Say y here to enable support for the Qualcomm External Bus
Interface 2, which can be used to connect things like NAND Flash,
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM
2016-10-02 21:53 [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM Linus Walleij
@ 2016-10-03 5:24 ` Olof Johansson
2016-10-03 19:04 ` Stephen Boyd
1 sibling, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2016-10-03 5:24 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Oct 02, 2016 at 11:53:59PM +0200, Linus Walleij wrote:
> After being asked to not depend on ARCH_QCOM* or similar,
> unsurprisingly compilation fails on UM as it has no I/O
> memory:
>
> drivers/built-in.o: In function `qcom_ebi2_probe':
> >> drivers/bus/qcom-ebi2.c:333: undefined reference to
> `devm_ioremap_resource'
>
> Fix this by letting the Kconfig atleast depend on HAS_IOMEM.
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Andy Gross <andy.gross@linaro.org>
> Cc: linux-arm-msm at vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC maintainers: please apply this directly on the offending
> branch, or line it up for v4.9 fixes.
Applied to next/drivers. A Fixes: tag could have been nice, but it was
easy to find where the offender was.
-Olof
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM
2016-10-02 21:53 [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM Linus Walleij
2016-10-03 5:24 ` Olof Johansson
@ 2016-10-03 19:04 ` Stephen Boyd
2016-10-04 9:22 ` Arnd Bergmann
1 sibling, 1 reply; 4+ messages in thread
From: Stephen Boyd @ 2016-10-03 19:04 UTC (permalink / raw)
To: linux-arm-kernel
On 10/02/2016 02:53 PM, Linus Walleij wrote:
> After being asked to not depend on ARCH_QCOM* or similar,
> unsurprisingly compilation fails on UM as it has no I/O
> memory:
We could have depends on ARCH_QCOM || COMPILE_TEST and then life is
good. The HAS_IOMEM would of course stick around for compile testing.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM
2016-10-03 19:04 ` Stephen Boyd
@ 2016-10-04 9:22 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2016-10-04 9:22 UTC (permalink / raw)
To: linux-arm-kernel
On Monday, October 3, 2016 12:04:00 PM CEST Stephen Boyd wrote:
> On 10/02/2016 02:53 PM, Linus Walleij wrote:
> > After being asked to not depend on ARCH_QCOM* or similar,
> > unsurprisingly compilation fails on UM as it has no I/O
> > memory:
>
> We could have depends on ARCH_QCOM || COMPILE_TEST and then life is
> good. The HAS_IOMEM would of course stick around for compile testing.
Agreed, that would be nice also since most x86 don't want to
see the Kconfig option unless they set COMPILE_TEST.
Note that COMPILE_TEST now depends on !UML, so we don't have
to worry about that any more.
Arnd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-10-04 9:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-02 21:53 [PATCH] bus: qcom-ebi2: depend on HAS_IOMEM Linus Walleij
2016-10-03 5:24 ` Olof Johansson
2016-10-03 19:04 ` Stephen Boyd
2016-10-04 9:22 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).