Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274781
b: refs/heads/master
c: caf32f4
h: refs/heads/master
i:
  274779: 669008c
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Artem Bityutskiy committed Sep 11, 2011
1 parent abb624a commit c2d2f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2108c3bc632962422b7929e715ed6bbb837ac25c
refs/heads/master: caf32f4e8ca84ed1b0570176770f7209e7c304fe
7 changes: 2 additions & 5 deletions trunk/drivers/mtd/nand/bcm_umi_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
static const __devinitconst char gBanner[] = KERN_INFO \
"BCM UMI MTD NAND Driver: 1.00\n";

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

#if NAND_ECC_BCH
static uint8_t scan_ff_pattern[] = { 0xff };

Expand Down Expand Up @@ -496,9 +494,8 @@ static int __devinit bcm_umi_nand_probe(struct platform_device *pdev)
struct mtd_partition *partition_info;

board_mtd->name = "bcm_umi-nand";
nr_partitions =
parse_mtd_partitions(board_mtd, part_probes,
&partition_info, 0);
nr_partitions = parse_mtd_partitions(board_mtd, NULL,
&partition_info, 0);

if (nr_partitions <= 0) {
printk(KERN_ERR "BCM UMI NAND: Too few partitions - %d\n",
Expand Down

0 comments on commit c2d2f7e

Please sign in to comment.