Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274792
b: refs/heads/master
c: 5279fe3
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 88e8424 commit fbdab27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: ac9b0f3662f523e6aeb7669b40269ecbd2fd752b
refs/heads/master: 5279fe36fa4c5e3f33b25111c1cbf08386e78d06
4 changes: 1 addition & 3 deletions trunk/drivers/mtd/nand/mpc5121_nfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ struct mpc5121_nfc_prv {

static void mpc5121_nfc_done(struct mtd_info *mtd);

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

/* Read NFC register */
static inline u16 nfc_read(struct mtd_info *mtd, uint reg)
{
Expand Down Expand Up @@ -838,7 +836,7 @@ static int __devinit mpc5121_nfc_probe(struct platform_device *op)
dev_set_drvdata(dev, mtd);

/* Register device in MTD */
retval = parse_mtd_partitions(mtd, mpc5121_nfc_pprobes, &parts, 0);
retval = parse_mtd_partitions(mtd, NULL, &parts, 0);
#ifdef CONFIG_MTD_OF_PARTS
if (retval == 0)
retval = of_mtd_parse_partitions(dev, dn, &parts);
Expand Down

0 comments on commit fbdab27

Please sign in to comment.