mtd: of_parts: fix breakage in Kconfig

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Jun 1 15:59:02 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=2e929d001e85126d9267de373d4b76014789661d
Commit:     2e929d001e85126d9267de373d4b76014789661d
Parent:     34a5704d91d6f8376a4c0a0143a1dd3eb3ccb37e
Author:     Frank Svendsboe <frank.svendsboe at gmail.com>
AuthorDate: Thu May 17 22:43:09 2012 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Jun 1 20:06:59 2012 +0100

    mtd: of_parts: fix breakage in Kconfig
    
    MTD_OF_PARTS and the default setting is not working due to using 'Y'
    instead of 'y', introduced in commit
    d6137badeff1ef64b4e0092ec249ebdeaeb3ff37. This made our board, and
    possibly other boards using DTS defined partitions and not having
    CONFIG_MTD_OF_PARTS=y defined in the defconfig, fail to mount root.
    
    Signed-off-by: Frank Svendsboe <frank.svendsboe at gmail.com>
    Cc: stable at kernel.org [3.2+]
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 5760c1a..27143e0 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -128,7 +128,7 @@ config MTD_AFS_PARTS
 
 config MTD_OF_PARTS
 	tristate "OpenFirmware partitioning information support"
-	default Y
+	default y
 	depends on OF
 	help
 	  This provides a partition parsing function which derives



More information about the linux-mtd-cvs mailing list