Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116027
b: refs/heads/master
c: 69fd3a8
h: refs/heads/master
i:
  116025: c41e8d2
  116023: 260f747
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and David Woodhouse committed Oct 13, 2008
1 parent 4f085f2 commit 3f721e4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 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: 52551beb0519c014fb77e1c78a6888d20e62209c
refs/heads/master: 69fd3a8d098faf41a04930afa83757c0555ee360
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/maps/physmap_of.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ static int __devinit of_flash_probe(struct of_device *dev,

#ifdef CONFIG_MTD_OF_PARTS
if (err == 0) {
err = of_mtd_parse_partitions(&dev->dev, info->mtd,
dp, &info->parts);
err = of_mtd_parse_partitions(&dev->dev, dp, &info->parts);
if (err < 0)
return err;
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/fsl_elbc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl,

#ifdef CONFIG_MTD_OF_PARTS
if (ret == 0) {
ret = of_mtd_parse_partitions(priv->dev, &priv->mtd,
node, &parts);
ret = of_mtd_parse_partitions(priv->dev, node, &parts);
if (ret < 0)
goto err;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/mtd/ofpart.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <linux/mtd/partitions.h>

int __devinit of_mtd_parse_partitions(struct device *dev,
struct mtd_info *mtd,
struct device_node *node,
struct mtd_partition **pparts)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/mtd/partitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ struct device;
struct device_node;

int __devinit of_mtd_parse_partitions(struct device *dev,
struct mtd_info *mtd,
struct device_node *node,
struct mtd_partition **pparts);

Expand Down

0 comments on commit 3f721e4

Please sign in to comment.