[MTD NAND] Allow override of page read and write functions.
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 25 Sep 2006 16:12:39 +0000 (17:12 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 25 Sep 2006 16:12:39 +0000 (17:12 +0100)
commit956e944c7690ea994757a8cbedbb6241e1d9138f
treec2c4c3eead457d963583925bbf517f840d40db69
parent4bf63fcb83dc761853f69a77b15e47712689020b
[MTD NAND] Allow override of page read and write functions.

- allow high-level nand_write_page() function to be overridden
- likewise low-level write_page_raw() and read_page_raw() functions
- Clean up the abuse of chip->ecc.{write,read}_page() with MTD_OOB_RAW

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h