diff options
author | Alexey Korolev <akorolev@infradead.org> | 2008-08-20 22:32:08 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-08-20 22:35:40 +0100 |
commit | 17c1d2be28e485c0c8b09661db39d5bf2605069d (patch) | |
tree | 204dff58a9cba311bb9645d15b32e40476355676 /drivers/mtd/nand/nand_ecc.c | |
parent | 1077be58ad7baadd86e47e8b4f6209fa5b6364a5 (diff) | |
download | op-kernel-dev-17c1d2be28e485c0c8b09661db39d5bf2605069d.zip op-kernel-dev-17c1d2be28e485c0c8b09661db39d5bf2605069d.tar.gz |
[MTD] [NAND] Fix missing kernel-doc
[Reported by Randy Dunlap]
Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/nand_ecc.c')
-rw-r--r-- | drivers/mtd/nand/nand_ecc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/nand_ecc.c b/drivers/mtd/nand/nand_ecc.c index d99e569..fd19787 100644 --- a/drivers/mtd/nand/nand_ecc.c +++ b/drivers/mtd/nand/nand_ecc.c @@ -150,8 +150,8 @@ static const char addressbits[256] = { /** * nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256-byte block * @mtd: MTD block structure (unused) - * @dat: raw data - * @ecc_code: buffer for ECC + * @buf: input buffer with raw data + * @code: output buffer with ECC */ int nand_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, unsigned char *code) @@ -390,7 +390,7 @@ EXPORT_SYMBOL(nand_calculate_ecc); /** * nand_correct_data - [NAND Interface] Detect and correct bit error(s) * @mtd: MTD block structure (unused) - * @dat: raw data read from the chip + * @buf: raw data read from the chip * @read_ecc: ECC from the chip * @calc_ecc: the ECC calculated from raw data * |