mtd: fix order of TEST/PARTITIONS kconfig options

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Sep 19 17:59:02 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=80f53da0ac752fe16a01ffeddaea658670974a05
Commit:     80f53da0ac752fe16a01ffeddaea658670974a05
Parent:     d79c326c048246b855b83a0092e6324df0717735
Author:     Mike Frysinger <vapier at gentoo.org>
AuthorDate: Sat Jun 13 06:15:18 2009 -0400
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Sep 19 11:53:31 2009 -0700

    mtd: fix order of TEST/PARTITIONS kconfig options
    
    The MTD_TEST config option was added in between the MTD_PARTITIONS config
    and its dependent options which causes the resulting menu system to
    display incorrectly as MTD_TEST does not depend on MTD_PARTITIONS.  So
    move it up a few lines where it won't cause a problem.
    
    Signed-off-by: Mike Frysinger <vapier at gentoo.org>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/Kconfig |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index b8e35a0..e4ec365 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -25,6 +25,14 @@ config MTD_DEBUG_VERBOSE
 	help
 	  Determines the verbosity level of the MTD debugging messages.
 
+config MTD_TESTS
+	tristate "MTD tests support"
+	depends on m
+	help
+	  This option includes various MTD tests into compilation. The tests
+	  should normally be compiled as kernel modules. The modules perform
+	  various checks and verifications when loaded.
+
 config MTD_CONCAT
 	tristate "MTD concatenating support"
 	help
@@ -45,14 +53,6 @@ config MTD_PARTITIONS
 	  devices. Partitioning on NFTL 'devices' is a different - that's the
 	  'normal' form of partitioning used on a block device.
 
-config MTD_TESTS
-	tristate "MTD tests support"
-	depends on m
-	help
-	  This option includes various MTD tests into compilation. The tests
-	  should normally be compiled as kernel modules. The modules perform
-	  various checks and verifications when loaded.
-
 config MTD_REDBOOT_PARTS
 	tristate "RedBoot partition table parsing"
 	depends on MTD_PARTITIONS



More information about the linux-mtd-cvs mailing list