mtd: Hide CONFIG_MTD_BLKDEVS from the menu
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 13 Dec 2013 13:58:44 +0000 (10:58 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 7 Jan 2014 18:07:36 +0000 (10:07 -0800)
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@free-electrons.com>
[Brian: keep symbol as tristate]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/Kconfig

index 5fab4e6..5ebcda3 100644 (file)
@@ -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"