[PATCH 08/32] mtd: bcm_umi_nand don't specify default parsing options

Dmitry Eremin-Solenikov
2011-06-06T09:16:35Z

drivers/mtd/nand/bcm_umi_nand.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/nand/bcm_umi_nand.c b/drivers/mtd/nand/bcm_umi_nand.c
index 7ac8607..7752d59 100644
--- a/drivers/mtd/nand/bcm_umi_nand.c
+++ b/drivers/mtd/nand/bcm_umi_nand.c
@@ -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 };

@@ -497,7 +495,7 @@ static int __devinit bcm_umi_nand_probe(struct platform_device *pdev)

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

if (nr_partitions <= 0) {
--
1.7.4.4