Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274776
b: refs/heads/master
c: 3af035c
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent a2ae7c6 commit 8bf8d4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adaf2a5d0887f9a317eca8550e59b0c92876c64f
refs/heads/master: 3af035c96ac72d2d301f04ad7f253e342a7dc54b
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/maps/h720x-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 8bf8d4b

Please sign in to comment.