[RFC/PATCH] mtd: Hide CONFIG_MTD_BLKDEVS from the menu

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Fri Dec 13 08:58:44 EST 2013


Make this option a hidden one and get a cleaner configuration.
This option just selects a common infrastructure for MTD-based devices
to expose a block interface. There is no point in allowing a separate
enable/disable.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
---
 drivers/mtd/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 5fab4e6e..2a0ca2a 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -158,9 +158,7 @@ config MTD_BCM47XX_PARTS
 comment "User Modules And Translation Layers"
 
 config MTD_BLKDEVS
-	tristate "Common interface to block layer for MTD 'translation layers'"
-	depends on BLOCK
-	default n
+	bool
 
 config MTD_BLOCK
 	tristate "Caching block device access to MTD devices"
-- 
1.8.1.5




More information about the linux-mtd mailing list