Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274804
b: refs/heads/master
c: 70f438c
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 9393208 commit a38b784
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: 3d4ae3b2eab1d95a944162b047533d74cfcb8def
refs/heads/master: 70f438c61636a194d7c3fa341fa72353ba0090f6
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/onenand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ struct omap2_onenand {
struct regulator *regulator;
};

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

static void omap2_onenand_dma_cb(int lch, u16 ch_status, void *data)
{
struct omap2_onenand *c = data;
Expand Down Expand Up @@ -754,7 +752,7 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev)
if ((r = onenand_scan(&c->mtd, 1)) < 0)
goto err_release_regulator;

r = parse_mtd_partitions(&c->mtd, part_probes, &c->parts, 0);
r = parse_mtd_partitions(&c->mtd, NULL, &c->parts, 0);
if (r > 0)
r = mtd_device_register(&c->mtd, c->parts, r);
else if (pdata->parts != NULL)
Expand Down

0 comments on commit a38b784

Please sign in to comment.