diff options
author | Dan Brown <dan_brown@ieee.org> | 2005-04-06 14:10:24 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 07:10:04 -0400 |
commit | e5a3e8ca948e8ac0dad751dbd75e4dc96b4277e9 (patch) | |
tree | aacd2f18a3bf8b22c8409ff066f4d521c6269ef5 /drivers/mtd | |
parent | 6f401a40b5e46144e1ea361a5e2be428fb18a344 (diff) |
[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/mtd')
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 4 |
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 @@ | |||
16 | * | 16 | * |
17 | * Interface to generic NAND code for M-Systems DiskOnChip devices | 17 | * Interface to generic NAND code for M-Systems DiskOnChip devices |
18 | * | 18 | * |
19 | * $Id: diskonchip.c,v 1.50 2005/03/29 20:57:45 dbrown Exp $ | 19 | * $Id: diskonchip.c,v 1.51 2005/04/06 18:10:20 dbrown Exp $ |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = { | |||
1055 | .useecc = MTD_NANDECC_AUTOPLACE, | 1055 | .useecc = MTD_NANDECC_AUTOPLACE, |
1056 | .eccbytes = 6, | 1056 | .eccbytes = 6, |
1057 | .eccpos = {0, 1, 2, 3, 4, 5}, | 1057 | .eccpos = {0, 1, 2, 3, 4, 5}, |
1058 | .oobfree = { {8, 8} } | 1058 | .oobfree = { {6, 10} } |
1059 | }; | 1059 | }; |
1060 | 1060 | ||
1061 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. | 1061 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. |