]> git.baikalelectronics.ru Git - kernel.git/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)
commita91b0b3515b98dcc1e038beb80b34aba7602512e
tree0e3ef3fd6a094da30584c8fc06483f0fff3cda4f
parent7bf6876ce9d0f394baba323d402477f61a48e3c5
[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