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

Miquel Raynal miquel.raynal at bootlin.com
Fri Nov 13 07:41:06 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 e5c6c2c58122..4ee050b1823e 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -201,7 +201,7 @@ config MTD_NAND_PASEMI
 
 config MTD_NAND_TMIO
 	tristate "Toshiba Mobile IO NAND controller"
-	depends on MFD_TMIO
+	depends on MFD_TMIO || COMPILE_TEST
 	help
 	  Support for NAND flash connected to a Toshiba Mobile IO
 	  Controller in some PDAs, including the Sharp SL6000x.
-- 
2.20.1




More information about the linux-mtd mailing list