mtd: Hide CONFIG_MTD_BLKDEVS from the menu

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 28 00:59:06 EST 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7f11b4d411d0e1ac9217d8a0546f60e057540772
Commit:     7f11b4d411d0e1ac9217d8a0546f60e057540772
Parent:     8b3ae733534a153756f142a3e8573a1ae967cf8b
Author:     Ezequiel Garcia <ezequiel.garcia at free-electrons.com>
AuthorDate: Fri Dec 13 10:58:44 2013 -0300
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Jan 7 10:07:36 2014 -0800

    mtd: Hide CONFIG_MTD_BLKDEVS from the menu
    
    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>
    [Brian: keep symbol as tristate]
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/Kconfig | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 5fab4e6e..5ebcda3 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -157,10 +157,11 @@ config MTD_BCM47XX_PARTS
 
 comment "User Modules And Translation Layers"
 
+#
+# MTD block device support is select'ed if needed
+#
 config MTD_BLKDEVS
-	tristate "Common interface to block layer for MTD 'translation layers'"
-	depends on BLOCK
-	default n
+	tristate
 
 config MTD_BLOCK
 	tristate "Caching block device access to MTD devices"



More information about the linux-mtd-cvs mailing list