]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/mxs_nand.c
mtd: nand: Sync with Linux v4.6
[u-boot] / drivers / mtd / nand / mxs_nand.c
index 5291330b911c9824f587b6fc714e269bb31766ca..7be1f86bc2b3d3bc795b92bcb6ac54c9475cef17 100644 (file)
@@ -961,7 +961,7 @@ static int mxs_nand_ecc_write_oob(struct mtd_info *mtd, struct nand_chip *nand,
  * Thus, this function is only called when we want *all* blocks to look good,
  * so it *always* return success.
  */
-static int mxs_nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
+static int mxs_nand_block_bad(struct mtd_info *mtd, loff_t ofs)
 {
        return 0;
 }