From: Atsushi Nemoto Date: Fri, 4 Sep 2009 16:20:43 +0000 (+0900) Subject: mtd: nand: add __nand_correct_data helper function X-Git-Tag: v2.6.32-rc1~160^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be2f092bfc4f6a415bb4c3e2dcbf521a1f2a0fe5;p=pandora-kernel.git mtd: nand: add __nand_correct_data helper function Split nand_correct_data() into two part, a pure calculation function and a wrapper for mtd interface. The tmio_nand driver can implement its ecc.correct function easily using this __nand_correct_data helper. Signed-off-by: Atsushi Nemoto Acked-by: Dmitry Eremin-Solenikov Acked-by: Vimal Singh Signed-off-by: David Woodhouse --- Reading git-diff-tree failed