bcma: Allow selection of this driver when COMPILE_TEST=y
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 09:45:16 +0000 (11:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:19 +0000 (09:34 +0200)
commita58d0b4d512aceb06d8a968c1d19318c77faa6b0
tree06edaf7b8dff3421358e78ae2b5d1dbe9ba79af7
parentd4de09e5bb08138f06b6d27cd0246d32866b0c68
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>
drivers/bcma/Kconfig