summaryrefslogtreecommitdiff
path: root/yaffs_ecc.h
diff options
context:
space:
mode:
Diffstat (limited to 'yaffs_ecc.h')
-rw-r--r--yaffs_ecc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaffs_ecc.h b/yaffs_ecc.h
index 5328ad5..17d47bd 100644
--- a/yaffs_ecc.h
+++ b/yaffs_ecc.h
@@ -32,7 +32,7 @@ struct yaffs_ecc_other {
unsigned line_parity_prime;
};
-void yaffs_ecc_cacl(const unsigned char *data, unsigned char *ecc);
+void yaffs_ecc_calc(const unsigned char *data, unsigned char *ecc);
int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc,
const unsigned char *test_ecc);