mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-08 12:00:49 +00:00
ramips: fix compile warning in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
2e9f3c6225
commit
e6fd17d04c
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user