[source] ramips: fix compile warning in MT7621 NAND driver

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 16 03:33:53 PDT 2017


nbd pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/e6fd17d04c7d738598414c55cd091f7fb9c6567a

commit e6fd17d04c7d738598414c55cd091f7fb9c6567a
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Oct 16 12:07:31 2017 +0200

    ramips: fix compile warning in MT7621 NAND driver
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
index 2a69521..7bb996a 100644
--- a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
+++ b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch
@@ -2667,7 +2667,7 @@ Signed-off-by: John Crispin <blogic at openwrt.org>
 +}
 +
 +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, chip->oob_poi, mtd->oobsize);



More information about the lede-commits mailing list