[PATCH] mtd: rawnand: orion: Allow compile testing

Miquel Raynal miquel.raynal at bootlin.com
Fri Nov 13 07:40:58 EST 2020


There is nothing preventing compile testing in this driver so enable
it.

Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
 drivers/mtd/nand/raw/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index cc86d6e4e042..e5c6c2c58122 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -149,7 +149,7 @@ config MTD_NAND_ATMEL
 
 config MTD_NAND_ORION
 	tristate "Marvell Orion NAND controller"
-	depends on PLAT_ORION
+	depends on PLAT_ORION || COMPILE_TEST
 	help
 	  This enables the NAND flash controller on Orion machines.
 
-- 
2.20.1




More information about the linux-mtd mailing list