X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_ecc.c;h=9294107c150d261bbb6c90c8c78b6590ba4b97a4;hp=0f3880710c71a4706195b76fb6d2a7257452812c;hb=d9cae0a277c62c660e4802d3b8745500583273da;hpb=2c98f380f6e28ef71d4d7a8a174cc22b0481f102 diff --git a/yaffs_ecc.c b/yaffs_ecc.c index 0f38807..9294107 100644 --- a/yaffs_ecc.c +++ b/yaffs_ecc.c @@ -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;