Write object headers with stored file extents
[yaffs2.git] / yaffs_ecc.c
index 0f3880710c71a4706195b76fb6d2a7257452812c..9294107c150d261bbb6c90c8c78b6590ba4b97a4 100644 (file)
@@ -69,7 +69,7 @@ static const unsigned char column_parity_table[] = {
 
 
 /* Calculate the ECC for a 256-byte block of data */
-void yaffs_ecc_cacl(const unsigned char *data, unsigned char *ecc)
+void yaffs_ecc_calc(const unsigned char *data, unsigned char *ecc)
 {
        unsigned int i;
        unsigned char col_parity = 0;