Skip to contentSkip to conversation

sh: Use the plat_nand default partition parser

PATCH In review H Hartley Sweeten 1 participant 1 message Mar 28, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/5 sh: Use the plat_nand default partition parser

Use the default partition parser, cmdlinepart, provided by the plat_nand driver.

---

arch/sh/boards/mach-migor/setup.c +0 -1
index ff6f69c..de3e0f6 100644
@@ -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,