sh: Use the plat_nand default partition parser
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 28 Mar 2012 18:14:04 +0000 (11:14 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 14 May 2012 03:47:09 +0000 (22:47 -0500)
Use the default partition parser, cmdlinepart, provided by the plat_nand driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/sh/boards/mach-migor/setup.c

index ff6f69c6906ec83e3f467b3ea1354f2c13832900..de3e0f670f366259e806486fdf9324489d1e9216 100644 (file)
@@ -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,