Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274774
b: refs/heads/master
c: 1fc468d
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent efa82ca commit 9ec53b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 1676bc18c6648c378029dad365756e12be7da025
refs/heads/master: 1fc468d5d55a0d9101e482ccb96b1b2879a73882
7 changes: 1 addition & 6 deletions trunk/drivers/mtd/devices/mtd_dataflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,12 +677,7 @@ add_dataflash_otp(struct spi_device *spi, char *name,
pagesize, otp_tag);
dev_set_drvdata(&spi->dev, priv);

if (mtd_has_cmdlinepart()) {
static const char *part_probes[] = { "cmdlinepart", NULL, };

nr_parts = parse_mtd_partitions(device, part_probes, &parts,
0);
}
nr_parts = parse_mtd_partitions(device, NULL, &parts, 0);

if (nr_parts <= 0 && pdata && pdata->parts) {
parts = pdata->parts;
Expand Down

0 comments on commit 9ec53b3

Please sign in to comment.