* [PATCH] mailbox: rockchip: Fix build error of missing devm_ioremap_resource on UM
@ 2016-03-30 0:47 Krzysztof Kozlowski
2016-03-30 0:54 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-30 0:47 UTC (permalink / raw)
To: Jassi Brar, linux-kernel; +Cc: Krzysztof Kozlowski
The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
allyesconfig (COMPILE_TEST) failed with:
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
drivers/mailbox/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 5305923752d2..acdffc3d686b 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -46,6 +46,7 @@ config OMAP_MBOX_KFIFO_SIZE
config ROCKCHIP_MBOX
bool "Rockchip Soc Intergrated Mailbox Support"
depends on ARCH_ROCKCHIP || COMPILE_TEST
+ depends on HAS_IOMEM
help
This driver provides support for inter-processor communication
between CPU cores and MCU processor on Some Rockchip SOCs.
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mailbox: rockchip: Fix build error of missing devm_ioremap_resource on UM
2016-03-30 0:47 [PATCH] mailbox: rockchip: Fix build error of missing devm_ioremap_resource on UM Krzysztof Kozlowski
@ 2016-03-30 0:54 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-30 0:54 UTC (permalink / raw)
To: Jassi Brar, linux-kernel
On 30.03.2016 09:47, Krzysztof Kozlowski wrote:
> The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
> allyesconfig (COMPILE_TEST) failed with:
Oh, the error log is missing. It should be:
... failed with:
drivers/built-in.o: In function `rockchip_mbox_probe':
rockchip-mailbox.c:(.text+0x47cd2a): undefined reference to `devm_ioremap_resource'
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-30 0:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 0:47 [PATCH] mailbox: rockchip: Fix build error of missing devm_ioremap_resource on UM Krzysztof Kozlowski
2016-03-30 0:54 ` Krzysztof Kozlowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.