diff mbox series

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

Message ID 20200904170954.18321-1-alex.dewar90@gmail.com
State Accepted
Headers show
Series mtd: onenand: omap2: Allow for compile-testing on !ARM | expand

Commit Message

Alex Dewar Sept. 4, 2020, 5:09 p.m. UTC
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@gmail.com>
---
 drivers/mtd/nand/onenand/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Miquel Raynal Sept. 11, 2020, 4:55 p.m. UTC | #1
On Fri, 2020-09-04 at 17:09:55 UTC, Alex Dewar wrote:
> 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@gmail.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
diff mbox series

Patch

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