Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119794
b: refs/heads/master
c: 29b6586
h: refs/heads/master
v: v3
  • Loading branch information
Wolfgang Grandegger authored and David Woodhouse committed Nov 27, 2008
1 parent 16af5ae commit f584781
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 3136e903fa2d493ebc1b8a8fbdde2d3a17f85acd
refs/heads/master: 29b65861fbece04cfdf3fee352d5247369131850
8 changes: 5 additions & 3 deletions trunk/drivers/mtd/nand/fsl_upm.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ static int __devinit fun_chip_init(struct fsl_upm_nand *fun,
ret = parse_mtd_partitions(&fun->mtd, part_types, &fun->parts, 0);

#ifdef CONFIG_MTD_OF_PARTS
if (ret == 0)
ret = of_mtd_parse_partitions(fun->dev, &fun->mtd,
flash_np, &fun->parts);
if (ret == 0) {
ret = of_mtd_parse_partitions(fun->dev, flash_np, &fun->parts);
if (ret < 0)
goto err;
}
#endif
if (ret > 0)
ret = add_mtd_partitions(&fun->mtd, fun->parts, ret);
Expand Down

0 comments on commit f584781

Please sign in to comment.