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

From: Alex Dewar
Date: Fri Sep 04 2020 - 13:10:20 EST


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@xxxxxxxxx>
---
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