aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/nand_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 85a7283845ff..971d58c391f1 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2472,9 +2472,9 @@ int nand_scan_tail(struct mtd_info *mtd)
2472 if ((!chip->ecc.calculate || !chip->ecc.correct || 2472 if ((!chip->ecc.calculate || !chip->ecc.correct ||
2473 !chip->ecc.hwctl) && 2473 !chip->ecc.hwctl) &&
2474 (!chip->ecc.read_page || 2474 (!chip->ecc.read_page ||
2475 chip->ecc.read_page == nand_read_page_hwecc) || 2475 chip->ecc.read_page == nand_read_page_hwecc ||
2476 !chip->ecc.write_page || 2476 !chip->ecc.write_page ||
2477 chip->ecc.write_page == nand_write_page_hwecc) { 2477 chip->ecc.write_page == nand_write_page_hwecc)) {
2478 printk(KERN_WARNING "No ECC functions supplied, " 2478 printk(KERN_WARNING "No ECC functions supplied, "
2479 "Hardware ECC not possible\n"); 2479 "Hardware ECC not possible\n");
2480 BUG(); 2480 BUG();