Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274791
b: refs/heads/master
c: ac9b0f3
h: refs/heads/master
i:
  274789: b01b4c7
  274787: 3a0e331
  274783: 8edb4c9
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent d033320 commit 88e8424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 0455dfd4c8614ae971202697f6db4d239e0b44c3
refs/heads/master: ac9b0f3662f523e6aeb7669b40269ecbd2fd752b
5 changes: 1 addition & 4 deletions trunk/drivers/mtd/maps/latch-addr-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ static void lf_copy_from(struct map_info *map, void *to,

static char *rom_probe_types[] = { "cfi_probe", NULL };

static char *part_probe_types[] = { "cmdlinepart", NULL };

static int latch_addr_flash_remove(struct platform_device *dev)
{
struct latch_addr_flash_info *info;
Expand Down Expand Up @@ -206,8 +204,7 @@ static int __devinit latch_addr_flash_probe(struct platform_device *dev)
}
info->mtd->owner = THIS_MODULE;

err = parse_mtd_partitions(info->mtd, (const char **)part_probe_types,
&info->parts, 0);
err = parse_mtd_partitions(info->mtd, NULL, &info->parts, 0);
if (err > 0) {
mtd_device_register(info->mtd, info->parts, err);
return 0;
Expand Down

0 comments on commit 88e8424

Please sign in to comment.