summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Rice <rrice@broadcom.com>2016-08-01 13:03:41 -0400
committerJassi Brar <jaswinder.singh@linaro.org>2016-08-29 18:39:46 +0530
commite0c6fba45ab730afc22fa01ac1c42459893252ec (patch)
tree9f1c833d90ba03182b5cddf218998fe4e3efc764
parent5e608a027082ae426e100a582031e0ff40becc83 (diff)
downloadlinux-e0c6fba45ab730afc22fa01ac1c42459893252ec.tar.bz2
mailbox: Add HAS_DMA Kconfig dependency to BCM_PDC_MBOX
Add HAS_DMA Kconfig dependency to BCM_PDC_MBOX to avoid link error on some platforms. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Rob Rice <rrice@broadcom.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r--drivers/mailbox/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 97c372908e78..7817d40d81e7 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -127,6 +127,7 @@ config XGENE_SLIMPRO_MBOX
config BCM_PDC_MBOX
tristate "Broadcom PDC Mailbox"
depends on ARM64 || COMPILE_TEST
+ depends on HAS_DMA
default ARCH_BCM_IPROC
help
Mailbox implementation for the Broadcom PDC ring manager,