sh: Use the plat_nand default partition parser

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon May 14 15:59:01 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c9b81cc193779023d804e907db1f63fc7b3de3e6
Commit:     c9b81cc193779023d804e907db1f63fc7b3de3e6
Parent:     b59e0fd7d6379aab9e6a13a8348b2e4fe8685cb2
Author:     H Hartley Sweeten <hartleys at visionengravers.com>
AuthorDate: Wed Mar 28 11:14:04 2012 -0700
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun May 13 22:37:33 2012 -0500

    sh: Use the plat_nand default partition parser
    
    Use the default partition parser, cmdlinepart, provided by the plat_nand driver.
    
    Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    (cherry picked from commit dc02c700ac63246035f4be33b4f2f68b24ee0c91)
---
 arch/sh/boards/mach-migor/setup.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index ff6f69c..de3e0f6 100644
--- a/arch/sh/boards/mach-migor/setup.c
+++ b/arch/sh/boards/mach-migor/setup.c
@@ -187,7 +187,6 @@ static struct platform_nand_data migor_nand_flash_data = {
 		.partitions = migor_nand_flash_partitions,
 		.nr_partitions = ARRAY_SIZE(migor_nand_flash_partitions),
 		.chip_delay = 20,
-		.part_probe_types = (const char *[]) { "cmdlinepart", NULL },
 	},
 	.ctrl = {
 		.dev_ready = migor_nand_flash_ready,



More information about the linux-mtd-cvs mailing list