]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/nand/arasan_nfc.c
mtd: nand: Add page argument to write_page() etc.
[people/ms/u-boot.git] / drivers / mtd / nand / arasan_nfc.c
index 6f3b71e0563d0c6abaa8fd7840c9353c11945803..320cbaa859a1fb3fde9afecfc50fd94c0ad26eb3 100644 (file)
@@ -433,7 +433,8 @@ static void arasan_nand_fill_tx(const u8 *buf, int len)
 }
 
 static int arasan_nand_write_page_hwecc(struct mtd_info *mtd,
-               struct nand_chip *chip, const u8 *buf, int oob_required)
+               struct nand_chip *chip, const u8 *buf, int oob_required,
+               int page)
 {
        u32 reg_val, i, pktsize, pktnum;
        const u32 *bufptr = (const u32 *)buf;