Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274880
b: refs/heads/master
c: 73f36b3
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 3cf0aa4 commit 44366ce
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: 99add4228fce515fe113282147a0aab74afa29ae
refs/heads/master: 73f36b3e251888ef224a3c90d3c408e02a1eb957
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/fsl_upm.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ static int __devinit fun_chip_init(struct fsl_upm_nand *fun,
goto err;

ppdata.of_node = flash_np;
ret = parse_mtd_partitions(&fun->mtd, NULL, &fun->parts, &ppdata);

ret = mtd_device_register(&fun->mtd, fun->parts, ret);
ret = mtd_device_parse_register(&fun->mtd, NULL, &ppdata, NULL, 0);
err:
of_node_put(flash_np);
return ret;
Expand Down

0 comments on commit 44366ce

Please sign in to comment.