Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274803
b: refs/heads/master
c: 3d4ae3b
h: refs/heads/master
i:
  274801: 378f4b7
  274799: 697ca2c
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 2e9346c commit 9393208
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: abfc7d2b94e650c18965e62fe74e457b96b4865a
refs/heads/master: 3d4ae3b2eab1d95a944162b047533d74cfcb8def
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/onenand/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
*/
#define DRIVER_NAME "onenand-flash"

static const char *part_probes[] = { "cmdlinepart", NULL, };

struct onenand_info {
struct mtd_info mtd;
struct mtd_partition *parts;
Expand Down Expand Up @@ -73,7 +71,7 @@ static int __devinit generic_onenand_probe(struct platform_device *pdev)
goto out_iounmap;
}

err = parse_mtd_partitions(&info->mtd, part_probes, &info->parts, 0);
err = parse_mtd_partitions(&info->mtd, NULL, &info->parts, 0);
if (err > 0)
mtd_device_register(&info->mtd, info->parts, err);
else if (err <= 0 && pdata && pdata->parts)
Expand Down

0 comments on commit 9393208

Please sign in to comment.