X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_ecc.c;fp=yaffs_ecc.c;h=9294107c150d261bbb6c90c8c78b6590ba4b97a4;hp=0f3880710c71a4706195b76fb6d2a7257452812c;hb=8a888f806c297984b100e2ef94e3bd47849cd541;hpb=912be3d8414dea3a2ebf1792698174d3b6d3cbf1 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;