ramips: fix compile warning in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -2667,7 +2667,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
|||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+static int
|
+static int
|
||||||
+mtk_nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t * buf, int oob_required)
|
+mtk_nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t * buf, int oob_required, int page)
|
||||||
+{
|
+{
|
||||||
+ mtk_nand_write_buf(mtd, buf, mtd->writesize);
|
+ mtk_nand_write_buf(mtd, buf, mtd->writesize);
|
||||||
+ mtk_nand_write_buf(mtd, chip->oob_poi, mtd->oobsize);
|
+ mtk_nand_write_buf(mtd, chip->oob_poi, mtd->oobsize);
|
||||||
|
|||||||
Reference in New Issue
Block a user