Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298134
b: refs/heads/master
c: bf011f2
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Schwierzeck authored and David Woodhouse committed Mar 26, 2012
1 parent 4ad623f commit f0777c0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d42b5de35fb058513367d1a9ee146be5aaab7c6a
refs/heads/master: bf011f2ed53d587fdd8148c173c4f09ed77bdf1a
3 changes: 2 additions & 1 deletion trunk/drivers/mtd/maps/lantiq-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ struct ltq_mtd {
};

static char ltq_map_name[] = "ltq_nor";
static const char *ltq_probe_types[] __devinitconst = { "cmdlinepart", NULL };

static map_word
ltq_read16(struct map_info *map, unsigned long adr)
Expand Down Expand Up @@ -168,7 +169,7 @@ ltq_mtd_probe(struct platform_device *pdev)
cfi->addr_unlock1 ^= 1;
cfi->addr_unlock2 ^= 1;

err = mtd_device_parse_register(ltq_mtd->mtd, NULL, 0,
err = mtd_device_parse_register(ltq_mtd->mtd, ltq_probe_types, 0,
ltq_mtd_data->parts, ltq_mtd_data->nr_parts);
if (err) {
dev_err(&pdev->dev, "failed to add partitions\n");
Expand Down

0 comments on commit f0777c0

Please sign in to comment.