[PATCH 08/32] mtd: bcm_umi_nand don't specify default parsing options
Dmitry Eremin-Solenikov
dbaryshkov at gmail.com
Mon Jun 6 05:15:58 EDT 2011
Since 'cmdline, NULL' is now a default for parse_mtd_partitions, don't specify
this in every driver, instead pass NULL to force parse_mtd_partitions
to use default.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
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
More information about the linux-mtd
mailing list