aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/onenand_bbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/onenand/onenand_bbt.c')
-rw-r--r--drivers/mtd/onenand/onenand_bbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index 98f8fd1c6375..90db8f5b1f84 100644
--- a/drivers/mtd/onenand/onenand_bbt.c
+++ b/drivers/mtd/onenand/onenand_bbt.c
@@ -168,8 +168,8 @@ static int onenand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
168 * marked good / bad blocks and writes the bad block table(s) to 168 * marked good / bad blocks and writes the bad block table(s) to
169 * the selected place. 169 * the selected place.
170 * 170 *
171 * The bad block table memory is allocated here. It must be freed 171 * The bad block table memory is allocated here. It is freed
172 * by calling the onenand_free_bbt function. 172 * by the onenand_release function.
173 * 173 *
174 */ 174 */
175int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd) 175int onenand_scan_bbt(struct mtd_info *mtd, struct nand_bbt_descr *bd)