diff options
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 8e875fa140a8..3a3fe1d8fcdd 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c | |||
@@ -1824,8 +1824,6 @@ int onenand_scan(struct mtd_info *mtd, int maxchips) | |||
1824 | mtd->write_user_prot_reg = onenand_write_user_prot_reg; | 1824 | mtd->write_user_prot_reg = onenand_write_user_prot_reg; |
1825 | mtd->lock_user_prot_reg = onenand_lock_user_prot_reg; | 1825 | mtd->lock_user_prot_reg = onenand_lock_user_prot_reg; |
1826 | #endif | 1826 | #endif |
1827 | mtd->readv = NULL; | ||
1828 | mtd->readv_ecc = NULL; | ||
1829 | mtd->sync = onenand_sync; | 1827 | mtd->sync = onenand_sync; |
1830 | mtd->lock = NULL; | 1828 | mtd->lock = NULL; |
1831 | mtd->unlock = onenand_unlock; | 1829 | mtd->unlock = onenand_unlock; |