Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298124
b: refs/heads/master
c: a3c1e3b
h: refs/heads/master
v: v3
  • Loading branch information
Marc Kleine-Budde authored and David Woodhouse committed Mar 26, 2012
1 parent a6a64f0 commit 85bf2b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: de3cac9357b5aa9f9f02520e5f2567b06f3f75a7
refs/heads/master: a3c1e3b732b3708a80e4035b9d845f3f7c7dd0c9
5 changes: 4 additions & 1 deletion trunk/drivers/mtd/maps/ixp4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ static int ixp4xx_flash_probe(struct platform_device *dev)
{
struct flash_platform_data *plat = dev->dev.platform_data;
struct ixp4xx_flash_info *info;
struct mtd_part_parser_data ppdata = {
.origin = dev->resource->start,
};
int err = -1;

if (!plat)
Expand Down Expand Up @@ -247,7 +250,7 @@ static int ixp4xx_flash_probe(struct platform_device *dev)
/* Use the fast version */
info->map.write = ixp4xx_write16;

err = mtd_device_parse_register(info->mtd, probes, dev->resource->start,
err = mtd_device_parse_register(info->mtd, probes, &ppdata,
plat->parts, plat->nr_parts);
if (err) {
printk(KERN_ERR "Could not parse partitions\n");
Expand Down

0 comments on commit 85bf2b7

Please sign in to comment.