diff options
Diffstat (limited to 'drivers/mtd/onenand/onenand_base.c')
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 198bb8562d93..4c2c61d54b3a 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c | |||
@@ -1943,7 +1943,7 @@ int onenand_scan(struct mtd_info *mtd, int maxchips) | |||
1943 | 1943 | ||
1944 | /* Fill in remaining MTD driver data */ | 1944 | /* Fill in remaining MTD driver data */ |
1945 | mtd->type = MTD_NANDFLASH; | 1945 | mtd->type = MTD_NANDFLASH; |
1946 | mtd->flags = MTD_CAP_NANDFLASH | MTD_ECC; | 1946 | mtd->flags = MTD_CAP_NANDFLASH; |
1947 | mtd->ecctype = MTD_ECC_SW; | 1947 | mtd->ecctype = MTD_ECC_SW; |
1948 | mtd->erase = onenand_erase; | 1948 | mtd->erase = onenand_erase; |
1949 | mtd->point = NULL; | 1949 | mtd->point = NULL; |