mtd: Add __nand_calculate_ecc() to NAND ECC functions
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 22 Oct 2009 07:53:32 +0000 (16:53 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:32:19 +0000 (09:32 +0000)
commit1c63aca32903efc219fb9df72bae5344f3e54ed5
treef3731478a5b163344e55bdf03eef25895d03cdab
parent3cf602532c535ec655725e9833378e04c9fd7783
mtd: Add __nand_calculate_ecc() to NAND ECC functions

Add __nand_calculate_ecc() which does not take struct mtd_info.
The built-in 256/512 software ECC calculation and correction tester
will use it.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_ecc.c
include/linux/mtd/nand_ecc.h