* [PATCH] [MTD] NAND: Fix typo ndfc.c
@ 2006-09-20 15:24 Frank Haverkamp
0 siblings, 0 replies; only message in thread
From: Frank Haverkamp @ 2006-09-20 15:24 UTC (permalink / raw)
To: David Woodhouse; +Cc: Thomas Gleixner, MTD Mailinglist
[PATCH] [MTD] NAND: Fix typo ndfc.c
Due to this typo, a wrong ECC layout table is choosen.
Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
---
drivers/mtd/nand/ndfc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: mtd-2.6.git/drivers/mtd/nand/ndfc.c
===================================================================
--- mtd-2.6.git.orig/drivers/mtd/nand/ndfc.c 2006-09-14
16:30:18.000000000 +0200
+++ mtd-2.6.git/drivers/mtd/nand/ndfc.c 2006-09-20 17:11:54.000000000
+0200
@@ -168,7 +168,7 @@ static void ndfc_chip_init(struct ndfc_n
chip->ecc.mode = NAND_ECC_HW;
chip->ecc.size = 256;
chip->ecc.bytes = 3;
- chip->ecclayout = mtd->pl_chip->ecclayout;
+ chip->ecclayout = chip->ecc.layout = mtd->pl_chip->ecclayout;
mtd->mtd.priv = chip;
mtd->mtd.owner = THIS_MODULE;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-20 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 15:24 [PATCH] [MTD] NAND: Fix typo ndfc.c Frank Haverkamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox