Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: rawnand: qcom: Allow selection of this driver when COMPILE_TEST=y

It just makes NAND maintainers' life easier by allowing them to
compile-test this driver without having ARCH_QCOM enabled.

We also need to add a dependency on HAS_IOMEM to make sure the driver
compiles correctly.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Boris Brezillon and committed by
Miquel Raynal
b2d55fe2 434bc2e1

+2 -1
+2 -1
drivers/mtd/nand/raw/Kconfig
··· 526 526 527 527 config MTD_NAND_QCOM 528 528 tristate "Support for NAND on QCOM SoCs" 529 - depends on ARCH_QCOM 529 + depends on ARCH_QCOM || COMPILE_TEST 530 + depends on HAS_IOMEM 530 531 help 531 532 Enables support for NAND flash chips on SoCs containing the EBI2 NAND 532 533 controller. This controller is found on IPQ806x SoC.