]> err.no Git - linux-2.6/commit
[MTD] NAND Add read/write function pointers to struct nand_ecc_ctrl
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Thu, 25 May 2006 08:04:31 +0000 (10:04 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 25 May 2006 11:45:27 +0000 (12:45 +0100)
commit9577f44a899cf4acb9e381c8946307b72153cd15
tree0e3ef3fd6a094da30584c8fc06483f0fff3cda4f
parent7fac464868ec5d80019fa549b8b4516dd1dc9d5c
[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 <tglx@linutronix.de>
include/linux/mtd/nand.h