diff options
Diffstat (limited to 'drivers/mtd/nand/bcm_umi_nand.c')
-rw-r--r-- | drivers/mtd/nand/bcm_umi_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/bcm_umi_nand.c b/drivers/mtd/nand/bcm_umi_nand.c index 974d9bc8e48..e3ffc4c908e 100644 --- a/drivers/mtd/nand/bcm_umi_nand.c +++ b/drivers/mtd/nand/bcm_umi_nand.c | |||
@@ -474,7 +474,7 @@ static int __devinit bcm_umi_nand_probe(struct platform_device *pdev) | |||
474 | 474 | ||
475 | #if NAND_ECC_BCH | 475 | #if NAND_ECC_BCH |
476 | if (board_mtd->writesize > 512) { | 476 | if (board_mtd->writesize > 512) { |
477 | if (this->bbt_options & NAND_USE_FLASH_BBT) | 477 | if (this->bbt_options & NAND_BBT_USE_FLASH) |
478 | largepage_bbt.options = NAND_BBT_SCAN2NDPAGE; | 478 | largepage_bbt.options = NAND_BBT_SCAN2NDPAGE; |
479 | this->badblock_pattern = &largepage_bbt; | 479 | this->badblock_pattern = &largepage_bbt; |
480 | } | 480 | } |