]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mailbox: altera: Add dependency on HAS_IOMEM
authorRichard Weinberger <richard@nod.at>
Mon, 4 May 2015 18:59:46 +0000 (20:59 +0200)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 12 May 2015 03:48:11 +0000 (09:18 +0530)
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>
drivers/mailbox/Kconfig

index 84b0a2d74d60b7b1761fd2be9632aa28869d06a2..4a418d2f656489d728b97767b95e1f99ac778681 100644 (file)
@@ -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