aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Brown <dan_brown@ieee.org>2005-04-06 19:10:24 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 13:10:04 +0200
commite5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9 (patch)
treeaacd2f18a3bf8b22c8409ff066f4d521c6269ef5 /drivers
parent[JFFS2] Add KERN_DEBUG level to printks (diff)
downloadlinux-dev-e5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9.tar.xz
linux-dev-e5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9.zip
[MTD] DiskOnChip: Fix (?) free OOB array info.
I really hope this doesn't break something. Signed-off-by: Dan Brown <dan_brown@ieee.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/diskonchip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c
index a96c43b4ea15..ee579dd3278a 100644
--- a/drivers/mtd/nand/diskonchip.c
+++ b/drivers/mtd/nand/diskonchip.c
@@ -16,7 +16,7 @@
*
* 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>
@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = {
.useecc = MTD_NANDECC_AUTOPLACE,
.eccbytes = 6,
.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.