Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274783
b: refs/heads/master
c: 5987d3f
h: refs/heads/master
i:
  274781: c2d2f7e
  274779: 669008c
  274775: a2ae7c6
  274767: e590b50
  274751: be1ed37
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent b1e6403 commit 8edb4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 00205e831326f7fc22888de152b313c89a43a110
refs/heads/master: 5987d3f45a3819985eb8f34203a5ca2604f08c06
6 changes: 1 addition & 5 deletions trunk/drivers/mtd/nand/cs553x_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ static int is_geode(void)
return 0;
}

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

static int __init cs553x_init(void)
{
int err = -ENXIO;
Expand Down Expand Up @@ -318,9 +316,7 @@ static int __init cs553x_init(void)
if (cs553x_mtd[i]) {

/* If any devices registered, return success. Else the last error. */
mtd_parts_nb = parse_mtd_partitions(cs553x_mtd[i], part_probes, &mtd_parts, 0);
if (mtd_parts_nb > 0)
printk(KERN_NOTICE "Using command line partition definition\n");
mtd_parts_nb = parse_mtd_partitions(cs553x_mtd[i], NULL, &mtd_parts, 0);
mtd_device_register(cs553x_mtd[i], mtd_parts,
mtd_parts_nb);
err = 0;
Expand Down

0 comments on commit 8edb4c9

Please sign in to comment.