Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274779
b: refs/heads/master
c: 2ef3855
h: refs/heads/master
i:
  274777: 3e2ff23
  274775: a2ae7c6
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 7d72852 commit 669008c
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: 8d130a74e40da7dc4c572fbf0ba533fac17f4190
refs/heads/master: 2ef3855a91300bc0dae0ddc8689e4ee64abe6a8a
5 changes: 1 addition & 4 deletions trunk/drivers/mtd/maps/rbtx4939-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static int rbtx4939_flash_remove(struct platform_device *dev)
}

static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", NULL };
static const char *part_probe_types[] = { "cmdlinepart", NULL };

static int rbtx4939_flash_probe(struct platform_device *dev)
{
Expand Down Expand Up @@ -107,9 +106,7 @@ static int rbtx4939_flash_probe(struct platform_device *dev)
info->mtd->owner = THIS_MODULE;
if (err)
goto err_out;

err = parse_mtd_partitions(info->mtd, 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);
info->nr_parts = err;
Expand Down

0 comments on commit 669008c

Please sign in to comment.