diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-10-16 12:07:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-10-16 12:18:19 +0200 |
commit | e6fd17d04c7d738598414c55cd091f7fb9c6567a (patch) | |
tree | 60f3e7bd6084c5c349f633df0a2b9bbab9f18b1f /target/linux | |
parent | 2e9f3c6225ffbb67862abbb503c4d77d691edaa3 (diff) | |
download | upstream-e6fd17d04c7d738598414c55cd091f7fb9c6567a.tar.gz upstream-e6fd17d04c7d738598414c55cd091f7fb9c6567a.tar.bz2 upstream-e6fd17d04c7d738598414c55cd091f7fb9c6567a.zip |
ramips: fix compile warning in MT7621 NAND driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 2a69521722..7bb996af51 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@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); |