]> err.no Git - linux-2.6/blobdiff - drivers/mtd/nand/toto.c
Merge branch 'master' of /home/tglx/work/kernel/git/mtd-2.6/
[linux-2.6] / drivers / mtd / nand / toto.c
index c51c895595143715b3af00ebc681557b225b65e6..50aa6a46911f9ca11e25dd145a9e6a79308a6c3f 100644 (file)
@@ -146,7 +146,7 @@ static int __init toto_init(void)
        this->dev_ready = NULL;
        /* 25 us command delay time */
        this->chip_delay = 30;
-       this->eccmode = NAND_ECC_SOFT;
+       this->ecc.mode = NAND_ECC_SOFT;
 
        /* Scan to find existance of the device */
        if (nand_scan(toto_mtd, 1)) {