aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/onenand/onenand_bbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index 90db8f5b1f84..aa46b7f6f496 100644
--- a/drivers/mtd/onenand/onenand_bbt.c
+++ b/drivers/mtd/onenand/onenand_bbt.c
@@ -68,7 +68,7 @@ static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr
68 68
69 printk(KERN_INFO "Scanning device for bad blocks\n"); 69 printk(KERN_INFO "Scanning device for bad blocks\n");
70 70
71 len = 1; 71 len = 2;
72 72
73 /* We need only read few bytes from the OOB area */ 73 /* We need only read few bytes from the OOB area */
74 scanlen = ooblen = 0; 74 scanlen = ooblen = 0;