提交 59dd3f02 编写于 作者: R Richard Weinberger 提交者: Jassi Brar

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'
Signed-off-by: NRichard Weinberger <richard@nod.at>
Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
上级 030bbdbf
...@@ -56,6 +56,7 @@ config PCC ...@@ -56,6 +56,7 @@ config PCC
config ALTERA_MBOX config ALTERA_MBOX
tristate "Altera Mailbox" tristate "Altera Mailbox"
depends on HAS_IOMEM
help help
An implementation of the Altera Mailbox soft core. It is used 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 to send message between processors. Say Y here if you want to use the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册