diff options
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index 7837728d02ff..f70bc73e7948 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c | |||
@@ -1652,7 +1652,7 @@ static int __init doc_probe(unsigned long physadr) | |||
1652 | nand->ecc.mode = NAND_ECC_HW_SYNDROME; | 1652 | nand->ecc.mode = NAND_ECC_HW_SYNDROME; |
1653 | nand->ecc.size = 512; | 1653 | nand->ecc.size = 512; |
1654 | nand->ecc.bytes = 6; | 1654 | nand->ecc.bytes = 6; |
1655 | nand->options = NAND_USE_FLASH_BBT; | 1655 | nand->bbt_options = NAND_USE_FLASH_BBT; |
1656 | 1656 | ||
1657 | doc->physadr = physadr; | 1657 | doc->physadr = physadr; |
1658 | doc->virtadr = virtadr; | 1658 | doc->virtadr = virtadr; |