Skip to content

Commit a58d0b4

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
bcma: Allow selection of this driver when COMPILE_TEST=y
This allows us to increase compile-test coverage without having to build a kernel for MIPS. That's particularly interesting for subsystem maintainers that want to test as many drivers as possible in a single build. We also add a dependency on HAS_IOMEM in BCMA_HOST_SOC to make sure the driver is not selected when the arch does not implement IO accessors. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Acked-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent d4de09e commit a58d0b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/bcma/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ config BCMA_HOST_PCI
3030

3131
config BCMA_HOST_SOC
3232
bool "Support for BCMA in a SoC"
33+
depends on HAS_IOMEM
3334
help
3435
Host interface for a Broadcom AIX bus directly mapped into
3536
the memory. This only works with the Broadcom SoCs from the
@@ -61,7 +62,7 @@ config BCMA_DRIVER_PCI_HOSTMODE
6162

6263
config BCMA_DRIVER_MIPS
6364
bool "BCMA Broadcom MIPS core driver"
64-
depends on MIPS
65+
depends on MIPS || COMPILE_TEST
6566
help
6667
Driver for the Broadcom MIPS core attached to Broadcom specific
6768
Advanced Microcontroller Bus.

0 commit comments

Comments
 (0)