Skip to contentSkip to conversation

mailbox: altera: Add dependency on HAS_IOMEM

PATCH New Richard Weinberger 1 participant 1 message May 4, 2015 Mailbox API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mailbox: altera: Add dependency on HAS_IOMEM

Not all architectures have io memory.

Fixes:
drivers/built-in.o: In function `altera_mbox_probe':
mailbox-altera.c:(.text+0x409fd2): undefined reference to `devm_ioremap_resource'

---
 drivers/mailbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mailbox/Kconfig +1 -0
index 84b0a2d..4a418d2 100644
@@ -56,6 +56,7 @@ config PCC
 
 config ALTERA_MBOX
 	tristate "Altera Mailbox"
+	depends on HAS_IOMEM
 	help
 	  An implementation of the Altera Mailbox soft core. It is used
 	  to send message between processors. Say Y here if you want to use the
Signature · 1 line
1.8.4.5