diff options
author | Richard Weinberger <richard@nod.at> | 2015-05-04 20:59:46 +0200 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2015-05-12 09:18:11 +0530 |
commit | 59dd3f02615e52c42207a8e873f7f86bf7d447c4 (patch) | |
tree | ebd8b60cbbac7593f9fdd641503763c172507923 /drivers/mailbox | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 (diff) | |
download | linux-59dd3f02615e52c42207a8e873f7f86bf7d447c4.tar.gz linux-59dd3f02615e52c42207a8e873f7f86bf7d447c4.tar.bz2 linux-59dd3f02615e52c42207a8e873f7f86bf7d447c4.zip |
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: Richard Weinberger <richard@nod.at>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig index 84b0a2d74d60..4a418d2f6564 100644 --- a/drivers/mailbox/Kconfig +++ b/drivers/mailbox/Kconfig @@ -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 |