Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274786
b: refs/heads/master
c: a8e0832
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent de14b80 commit 3cb5de1
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: 495e2f41c38c99b2785cd3d99b24b080b20e8eb4
refs/heads/master: a8e083246387ffb9a84551fa908a358cacdc2b0c
3 changes: 1 addition & 2 deletions trunk/drivers/mtd/nand/fsl_upm.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ static int __devinit fun_chip_init(struct fsl_upm_nand *fun,
{
int ret;
struct device_node *flash_np;
static const char *part_types[] = { "cmdlinepart", NULL, };

fun->chip.IO_ADDR_R = fun->io_base;
fun->chip.IO_ADDR_W = fun->io_base;
Expand Down Expand Up @@ -192,7 +191,7 @@ static int __devinit fun_chip_init(struct fsl_upm_nand *fun,
if (ret)
goto err;

ret = parse_mtd_partitions(&fun->mtd, part_types, &fun->parts, 0);
ret = parse_mtd_partitions(&fun->mtd, NULL, &fun->parts, 0);

#ifdef CONFIG_MTD_OF_PARTS
if (ret == 0) {
Expand Down

0 comments on commit 3cb5de1

Please sign in to comment.