Patchwork [3/5] blackfin: Use the plat_nand default partition parser

login
register
mail settings
Submitter hartleys
Date March 28, 2012, 6:13 p.m.
Message ID <201203281113.19827.hartleys@visionengravers.com>
Download mbox | patch
Permalink /patch/149292/
State New
Headers show

Comments

hartleys - March 28, 2012, 6:13 p.m.
Use the default partition parser, cmdlinepart, provided by the plat_nand driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Mike Frysinger <vapier@gentoo.org>

---
Mike Frysinger - March 31, 2012, 2:55 a.m.
On Wed, Mar 28, 2012 at 14:13, H Hartley Sweeten wrote:
> Use the default partition parser, cmdlinepart, provided by the plat_nand driver.

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike

Patch

diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c
index f6ffd6f..0b74218 100644
--- a/arch/blackfin/mach-bf561/boards/acvilon.c
+++ b/arch/blackfin/mach-bf561/boards/acvilon.c
@@ -248,8 +248,6 @@  static struct platform_device bfin_uart0_device = {
 
 #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE)
 
-const char *part_probes[] = { "cmdlinepart", NULL };
-
 static struct mtd_partition bfin_plat_nand_partitions[] = {
 	{
 	 .name = "params(nand)",
@@ -289,7 +287,6 @@  static struct platform_nand_data bfin_plat_nand_data = {
 	.chip = {
 		 .nr_chips = 1,
 		 .chip_delay = 30,
-		 .part_probe_types = part_probes,
 		 .partitions = bfin_plat_nand_partitions,
 		 .nr_partitions = ARRAY_SIZE(bfin_plat_nand_partitions),
 		 },