mailbox: bcm-flexrm-mailbox: add depends on ARCH_BCM_IPROC
authorScott Branden <scott.branden@broadcom.com>
Tue, 3 Oct 2017 05:21:50 +0000 (10:51 +0530)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 27 Oct 2017 07:33:05 +0000 (13:03 +0530)
The Broadcom FlexRM Mailbox is only present in the Broadcom IPROC SoCs.
Add depends on ARCH_BCM_IPROC to BCM_FLEXRX_MBOX.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/Kconfig

index c5731e5e3c6c5be67f24e2b0b68be54db14559da..3161f2322eb2b86877fc22f738c39ffe1a3e9e3e 100644 (file)
@@ -163,6 +163,7 @@ config BCM_PDC_MBOX
 config BCM_FLEXRM_MBOX
        tristate "Broadcom FlexRM Mailbox"
        depends on ARM64
+       depends on ARCH_BCM_IPROC || COMPILE_TEST
        depends on HAS_DMA
        select GENERIC_MSI_IRQ_DOMAIN
        default ARCH_BCM_IPROC