[PATCH] mtd: onenand: omap2: Allow for compile-testing on !ARM

Alex Dewar alex.dewar90 at gmail.com
Fri Sep 4 13:09:55 EDT 2020


There seems no particular reason for building on ARM only, so remove the
restriction to increase test coverage.

Build-tested on x86 with allyesconfig.

Signed-off-by: Alex Dewar <alex.dewar90 at gmail.com>
---
 drivers/mtd/nand/onenand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/onenand/Kconfig b/drivers/mtd/nand/onenand/Kconfig
index 1a0e65bc246e..e2272f07d500 100644
--- a/drivers/mtd/nand/onenand/Kconfig
+++ b/drivers/mtd/nand/onenand/Kconfig
@@ -24,7 +24,7 @@ config MTD_ONENAND_GENERIC
 
 config MTD_ONENAND_OMAP2
 	tristate "OneNAND on OMAP2/OMAP3 support"
-	depends on ARCH_OMAP2 || ARCH_OMAP3 || (COMPILE_TEST && ARM)
+	depends on ARCH_OMAP2 || ARCH_OMAP3 || COMPILE_TEST
 	depends on OF || COMPILE_TEST
 	help
 	  Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC
-- 
2.28.0




More information about the linux-mtd mailing list