mtd: flash drivers set ecc strength
[deliverable/linux.git] / drivers / mtd / devices / docg3.c
index 2c1d0fca675770fcb3d560765b5c635f30f395d2..349bbfa74d0dcb366ac0bfe120a93379db34657e 100644 (file)
@@ -1832,6 +1832,7 @@ static void __init doc_set_driver_info(int chip_id, struct mtd_info *mtd)
        mtd->_write_oob = doc_write_oob;
        mtd->_block_isbad = doc_block_isbad;
        mtd->ecclayout = &docg3_oobinfo;
+       mtd->ecc_strength = DOC_ECC_BCH_T;
 }
 
 /**
This page took 0.026146 seconds and 5 git commands to generate.