[PATCH 05/32] mtd: intel_vr_nor don't specify default parsing options

Dmitry Eremin-Solenikov
2011-06-06T09:16:32Z

drivers/mtd/maps/intel_vr_nor.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c
index d2f47be..fd612c7 100644
--- a/drivers/mtd/maps/intel_vr_nor.c
+++ b/drivers/mtd/maps/intel_vr_nor.c
@@ -72,11 +72,10 @@ static void __devexit vr_nor_destroy_partitions(struct vr_nor_mtd *p)
static int __devinit vr_nor_init_partitions(struct vr_nor_mtd *p)
{
struct mtd_partition *parts;
- static const char *part_probes[] = { "cmdlinepart", NULL };

/* register the flash bank */
/* partition the flash bank */
- p->nr_parts = parse_mtd_partitions(p->info, part_probes, &parts, 0);
+ p->nr_parts = parse_mtd_partitions(p->info, NULL, &parts, 0);
return mtd_device_register(p->info, parts, p->nr_parts);
}

--
1.7.4.4