From: Thomas Gleixner Date: Thu, 25 May 2006 08:04:31 +0000 (+0200) Subject: [MTD] NAND Add read/write function pointers to struct nand_ecc_ctrl X-Git-Tag: v2.6.18-rc1~1105^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9577f44a899cf4acb9e381c8946307b72153cd15;p=pandora-kernel.git [MTD] NAND Add read/write function pointers to struct nand_ecc_ctrl Add read/write function pointers to struct nand_ecc_ctrl to prepare the modulaization of nand_read/write functions. The current implementation handles every type of ecc mode software/hardware and all kinds of strange ecc placement schemes in one switch/if construct. Thats too complex to maintain and too inflexible to expand. Modularization will also shorten the code pathes of the read/write functions. Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed