diff options
author | Scott Wood <oss@buserror.net> | 2016-05-30 18:57:57 (GMT) |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-06-04 01:27:48 (GMT) |
commit | 81c772521ff26054a3fe75efa87d8daeae83e9b4 (patch) | |
tree | 8037d16f2aa0ba9a23625b16a412a2eca7df7a41 /drivers/mtd/nand/mxs_nand.c | |
parent | 17cb4b8f327eb983cef7c510fcf77f1635a00e48 (diff) | |
download | u-boot-81c772521ff26054a3fe75efa87d8daeae83e9b4.tar.xz |
mtd: nand: Add page argument to write_page() etc.
This change is part of the Linux 4.6 sync. It is being done before the
main sync patch in order to make it easier to address the issue across
all NAND drivers (many/most of which do not closely track their Linux
counterparts) separately from other merge issues.
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'drivers/mtd/nand/mxs_nand.c')
-rw-r--r-- | drivers/mtd/nand/mxs_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 7053ff2..5291330 100644 --- a/drivers/mtd/nand/mxs_nand.c +++ b/drivers/mtd/nand/mxs_nand.c @@ -707,7 +707,7 @@ rtn: */ static int mxs_nand_ecc_write_page(struct mtd_info *mtd, struct nand_chip *nand, const uint8_t *buf, - int oob_required) + int oob_required, int page) { struct mxs_nand_info *nand_info = nand_get_controller_data(nand); struct mxs_dma_desc *d; |