summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Kconfig
diff options
context:
space:
mode:
authorEzequiel Garcia2013-12-13 14:58:44 +0100
committerBrian Norris2014-01-07 19:07:36 +0100
commit7f11b4d411d0e1ac9217d8a0546f60e057540772 (patch)
treec677698ef4f95d127e1906efc219fffe72b2db9d /drivers/mtd/Kconfig
parentmtd: onenand: fix warning (integer used as pointer) (diff)
downloadkernel-qcow2-linux-7f11b4d411d0e1ac9217d8a0546f60e057540772.tar.gz
kernel-qcow2-linux-7f11b4d411d0e1ac9217d8a0546f60e057540772.tar.xz
kernel-qcow2-linux-7f11b4d411d0e1ac9217d8a0546f60e057540772.zip
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@free-electrons.com> [Brian: keep symbol as tristate] Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/Kconfig')
-rw-r--r--drivers/mtd/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 5fab4e6e8301..5ebcda39f554 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"