diff options
Diffstat (limited to 'drivers/mtd')
-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 44c327a335e7..ad052c8233c2 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c | |||
@@ -1217,7 +1217,7 @@ int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from, | |||
1217 | static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) | 1217 | static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to) |
1218 | { | 1218 | { |
1219 | struct onenand_chip *this = mtd->priv; | 1219 | struct onenand_chip *this = mtd->priv; |
1220 | char oobbuf[64]; | 1220 | u_char oobbuf[64]; |
1221 | int status, i; | 1221 | int status, i; |
1222 | 1222 | ||
1223 | this->command(mtd, ONENAND_CMD_READOOB, to, mtd->oobsize); | 1223 | this->command(mtd, ONENAND_CMD_READOOB, to, mtd->oobsize); |