From patchwork Wed Mar 28 18:14:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [5/5] sh: Use the plat_nand default partition parser From: hartleys X-Patchwork-Id: 149293 Message-Id: <201203281114.04557.hartleys@visionengravers.com> To: Linux Kernel Cc: lethal@linux-sh.org, linux-mtd@lists.infradead.org, linux-sh@vger.kernel.org Date: Wed, 28 Mar 2012 11:14:04 -0700 Use the default partition parser, cmdlinepart, provided by the plat_nand driver. Signed-off-by: H Hartley Sweeten Cc: Paul Mundt --- 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,