]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[MTD] DiskOnChip: Fix (?) free OOB array info.
authorDan Brown <dan_brown@ieee.org>
Wed, 6 Apr 2005 18:10:24 +0000 (19:10 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Mon, 23 May 2005 11:10:04 +0000 (13:10 +0200)
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>
drivers/mtd/nand/diskonchip.c

index a96c43b4ea157cb4c5e540604151b67c56926865..ee579dd3278ac7e1718c7eeda5f76ffbc4ff429f 100644 (file)
@@ -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.