Commit e5a3e8ca authored by Dan Brown's avatar Dan Brown Committed by Thomas Gleixner

[MTD] DiskOnChip: Fix (?) free OOB array info.

I really hope this doesn't break something.
Signed-off-by: default avatarDan Brown <dan_brown@ieee.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 6f401a40
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
* Interface to generic NAND code for M-Systems DiskOnChip devices * Interface to generic NAND code for M-Systems DiskOnChip devices
* *
* $Id: diskonchip.c,v 1.50 2005/03/29 20:57:45 dbrown Exp $ * $Id: diskonchip.c,v 1.51 2005/04/06 18:10:20 dbrown Exp $
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = { ...@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = {
.useecc = MTD_NANDECC_AUTOPLACE, .useecc = MTD_NANDECC_AUTOPLACE,
.eccbytes = 6, .eccbytes = 6,
.eccpos = {0, 1, 2, 3, 4, 5}, .eccpos = {0, 1, 2, 3, 4, 5},
.oobfree = { {8, 8} } .oobfree = { {6, 10} }
}; };
/* Find the (I)NFTL Media Header, and optionally also the mirror media header. /* Find the (I)NFTL Media Header, and optionally also the mirror media header.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment