aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
-rw-r--r--drivers/mtd/nand/nand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 055f6608a2ec..cd90a46bf56a 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -2668,7 +2668,7 @@ int nand_scan(struct mtd_info *mtd, int maxchips)
2668 2668
2669 /* Fill in remaining MTD driver data */ 2669 /* Fill in remaining MTD driver data */
2670 mtd->type = MTD_NANDFLASH; 2670 mtd->type = MTD_NANDFLASH;
2671 mtd->flags = MTD_CAP_NANDFLASH | MTD_ECC; 2671 mtd->flags = MTD_CAP_NANDFLASH;
2672 mtd->ecctype = MTD_ECC_SW; 2672 mtd->ecctype = MTD_ECC_SW;
2673 mtd->erase = nand_erase; 2673 mtd->erase = nand_erase;
2674 mtd->point = NULL; 2674 mtd->point = NULL;