aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/rtc_from4.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-26 18:52:08 +0200
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>2006-05-26 18:52:08 +0200
commitf75e5097ef298c5a0aa106faa211d1afdc92dc3d (patch)
tree0de4534e9ae54cf5d17ea9ef20acefb931167eee /drivers/mtd/nand/rtc_from4.c
parente4d222ff18bca6322f032088a21e9c4a4c038b85 (diff)
downloadkernel_samsung_smdk4412-f75e5097ef298c5a0aa106faa211d1afdc92dc3d.zip
kernel_samsung_smdk4412-f75e5097ef298c5a0aa106faa211d1afdc92dc3d.tar.gz
kernel_samsung_smdk4412-f75e5097ef298c5a0aa106faa211d1afdc92dc3d.tar.bz2
[MTD] NAND modularize write function
Modularize the write function and reorganaize the internal buffer management. Remove obsolete chip options and fixup all affected users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand/rtc_from4.c')
-rw-r--r--drivers/mtd/nand/rtc_from4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/rtc_from4.c b/drivers/mtd/nand/rtc_from4.c
index b708310..de6de91 100644
--- a/drivers/mtd/nand/rtc_from4.c
+++ b/drivers/mtd/nand/rtc_from4.c
@@ -571,7 +571,6 @@ static int __init rtc_from4_init(void)
this->ecc.mode = NAND_ECC_HW_SYNDROME;
this->ecc.size = 512;
this->ecc.bytes = 8;
- this->options |= NAND_HWECC_SYNDROME;
/* return the status of extra status and ECC checks */
this->errstat = rtc_from4_errstat;
/* set the nand_oobinfo to support FPGA H/W error detection */