Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274798
b: refs/heads/master
c: 5b2efbd
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 94cb549 commit 7766abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: c842f570a6e3ac002389ab7154084e32f4f5021a
refs/heads/master: 5b2efbdf70c74dcab575103c547ae27a71daba4c
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,6 @@ static int s3c24xx_nand_remove(struct platform_device *pdev)
return 0;
}

const char *part_probes[] = { "cmdlinepart", NULL };
static int s3c2410_nand_add_partition(struct s3c2410_nand_info *info,
struct s3c2410_nand_mtd *mtd,
struct s3c2410_nand_set *set)
Expand All @@ -756,7 +755,7 @@ static int s3c2410_nand_add_partition(struct s3c2410_nand_info *info,
return mtd_device_register(&mtd->mtd, NULL, 0);

mtd->mtd.name = set->name;
nr_part = parse_mtd_partitions(&mtd->mtd, part_probes, &part_info, 0);
nr_part = parse_mtd_partitions(&mtd->mtd, NULL, &part_info, 0);

if (nr_part <= 0 && set->nr_partitions > 0) {
nr_part = set->nr_partitions;
Expand Down

0 comments on commit 7766abe

Please sign in to comment.