Skip to contentSkip to conversation

MIPS: netlogic: remove unnecessary MTD partition probe specification

PATCH New Brian Norris 1 participant 1 message May 18, 2015

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

PATCH 1/1 MIPS: netlogic: remove unnecessary MTD partition probe specification

The cmdlinepart parser is already supported in the default probe.

---
 arch/mips/netlogic/xlr/platform-flash.c | 3 ---
 1 file changed, 3 deletions(-)
arch/mips/netlogic/xlr/platform-flash.c +0 -3
index 6d3c727e0ef8..f03131fec41d 100644
@@ -78,8 +78,6 @@ static struct platform_device xlr_nor_dev = {
 	.resource	= xlr_nor_res,
 };
 
-const char *xlr_part_probes[] = { "cmdlinepart", NULL };
-
 /*
  * Use "gen_nand" driver for NAND flash
  *
@@ -111,7 +109,6 @@ struct platform_nand_data xlr_nand_data = {
 		.nr_partitions	= ARRAY_SIZE(xlr_nand_parts),
 		.chip_delay	= 50,
 		.partitions	= xlr_nand_parts,
-		.part_probe_types = xlr_part_probes,
 	},
 	.ctrl = {
 		.cmd_ctrl	= xlr_nand_ctrl,
Signature · 1 line
1.9.1