Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274810
b: refs/heads/master
c: 0dc8626
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 75111c0 commit d665505
Show file tree
Hide file tree
Showing 3 changed files with 1 addition 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: 78dd9e3500873edd6005a41f8ba178eacbff64c5
refs/heads/master: 0dc8626a17ab8dea9f1e34c7a5d667f5331b0ddc
2 changes: 0 additions & 2 deletions trunk/drivers/mtd/nand/plat_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ static int __devinit plat_nand_probe(struct platform_device *pdev)
return 0;
}
}
if (pdata->chip.set_parts)
pdata->chip.set_parts(data->mtd.size, &pdata->chip);
if (pdata->chip.partitions) {
data->parts = pdata->chip.partitions;
err = mtd_device_register(&data->mtd, data->parts,
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/mtd/nand.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,6 @@ struct platform_nand_chip {
unsigned int options;
unsigned int bbt_options;
const char **part_probe_types;
void (*set_parts)(uint64_t size, struct platform_nand_chip *chip);
void *priv;
};

/* Keep gcc happy */
Expand Down

0 comments on commit d665505

Please sign in to comment.