From 8bf8d4b2136d8fe04efa2ced5a354ba8ab156c1a Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Sun, 29 May 2011 20:16:44 +0400 Subject: [PATCH] --- yaml --- r: 274776 b: refs/heads/master c: 3af035c96ac72d2d301f04ad7f253e342a7dc54b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/mtd/maps/h720x-flash.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 77e4349b5163..a348ef638f5f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: adaf2a5d0887f9a317eca8550e59b0c92876c64f +refs/heads/master: 3af035c96ac72d2d301f04ad7f253e342a7dc54b diff --git a/trunk/drivers/mtd/maps/h720x-flash.c b/trunk/drivers/mtd/maps/h720x-flash.c index 7f035860a36b..f331a2c94271 100644 --- a/trunk/drivers/mtd/maps/h720x-flash.c +++ b/trunk/drivers/mtd/maps/h720x-flash.c @@ -60,8 +60,6 @@ static struct mtd_partition h720x_partitions[] = { static int nr_mtd_parts; static struct mtd_partition *mtd_parts; -static const char *probes[] = { "cmdlinepart", NULL }; - /* * Initialize FLASH support */ @@ -92,7 +90,7 @@ static int __init h720x_mtd_init(void) if (mymtd) { mymtd->owner = THIS_MODULE; - nr_mtd_parts = parse_mtd_partitions(mymtd, probes, &mtd_parts, 0); + nr_mtd_parts = parse_mtd_partitions(mymtd, NULL, &mtd_parts, 0); if (nr_mtd_parts > 0) part_type = "command line"; if (nr_mtd_parts <= 0) {