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

mtd: rawnand: nuc900: 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_W90X900 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
d4de09e5 b2d55fe2

+2 -1
+2 -1
drivers/mtd/nand/raw/Kconfig
··· 478 478 479 479 config MTD_NAND_NUC900 480 480 tristate "Support for NAND on Nuvoton NUC9xx/w90p910 evaluation boards." 481 - depends on ARCH_W90X900 481 + depends on ARCH_W90X900 || COMPILE_TEST 482 + depends on HAS_IOMEM 482 483 help 483 484 This enables the driver for the NAND Flash on evaluation board based 484 485 on w90p910 / NUC9xx.