The devres.o gets linked if HAS_IOMEM is present so on ARCH=um
allyesconfig (COMPILE_TEST) failed with:

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
 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

Reply via email to