Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274879
b: refs/heads/master
c: 99add42
h: refs/heads/master
i:
  274877: f91ab05
  274875: af7c258
  274871: 6b2ab68
  274863: f0c62a5
  274847: a4cbcf2
  274815: 151db13
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent 1d475ac commit 3cf0aa4
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 871770b5c857aa39e87785726ce3ec5a41cd387a
refs/heads/master: 99add4228fce515fe113282147a0aab74afa29ae
8 changes: 2 additions & 6 deletions trunk/drivers/mtd/nand/fsl_elbc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,6 @@ static int __devinit fsl_elbc_nand_probe(struct platform_device *pdev)
struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl;
static const char *part_probe_types[]
= { "cmdlinepart", "RedBoot", "ofpart", NULL };
struct mtd_partition *parts;
int ret;
int bank;
struct device *dev;
Expand Down Expand Up @@ -936,11 +935,8 @@ static int __devinit fsl_elbc_nand_probe(struct platform_device *pdev)

/* First look for RedBoot table or partitions on the command
* line, these take precedence over device tree information */
ret = parse_mtd_partitions(&priv->mtd, part_probe_types, &parts, &ppdata);
if (ret < 0)
goto err;

mtd_device_register(&priv->mtd, parts, ret);
mtd_device_parse_register(&priv->mtd, part_probe_types, &ppdata,
NULL, 0);

printk(KERN_INFO "eLBC NAND device at 0x%llx, bank %d\n",
(unsigned long long)res.start, priv->bank);
Expand Down

0 comments on commit 3cf0aa4

Please sign in to comment.