diff options
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
-rw-r--r-- | drivers/mtd/nand/atmel_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 78d551622e1..79a7ef27661 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c | |||
@@ -583,7 +583,7 @@ static int __init atmel_nand_probe(struct platform_device *pdev) | |||
583 | 583 | ||
584 | if (on_flash_bbt) { | 584 | if (on_flash_bbt) { |
585 | printk(KERN_INFO "atmel_nand: Use On Flash BBT\n"); | 585 | printk(KERN_INFO "atmel_nand: Use On Flash BBT\n"); |
586 | nand_chip->bbt_options |= NAND_USE_FLASH_BBT; | 586 | nand_chip->bbt_options |= NAND_BBT_USE_FLASH; |
587 | } | 587 | } |
588 | 588 | ||
589 | if (!cpu_has_dma()) | 589 | if (!cpu_has_dma()) |