mtd: nand: pass page number to ecc->write_xxx() methods
[deliverable/linux.git] / drivers / staging / mt29f_spinand / mt29f_spinand.c
index 9a8ddbb0191fb8939602d8ed3a879ca685edabed..405b643189fd5cac9148e45e5f9d1c0d4bd94b90 100644 (file)
@@ -612,7 +612,8 @@ static int spinand_erase_block(struct spi_device *spi_nand, u16 block_id)
 
 #ifdef CONFIG_MTD_SPINAND_ONDIEECC
 static int spinand_write_page_hwecc(struct mtd_info *mtd,
-               struct nand_chip *chip, const uint8_t *buf, int oob_required)
+               struct nand_chip *chip, const uint8_t *buf, int oob_required,
+               int page)
 {
        const uint8_t *p = buf;
        int eccsize = chip->ecc.size;
This page took 0.034793 seconds and 5 git commands to generate.