From: Max Krummenacher Date: Mon, 13 Jun 2016 08:15:47 +0000 (+0200) Subject: nand: nand torture: follow sync with linux v4.6 X-Git-Tag: v2016.07-rc2~2^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1c29086d58f619423f0648748d0678af28f9871;p=u-boot nand: nand torture: follow sync with linux v4.6 follow parameter name change (nand to mtd) to fix compiler error. Signed-off-by: Max Krummenacher --- diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index 5bba66a728..e8bcc34ab4 100644 --- a/drivers/mtd/nand/nand_util.c +++ b/drivers/mtd/nand/nand_util.c @@ -820,7 +820,7 @@ int nand_torture(struct mtd_info *mtd, loff_t offset) { u_char patterns[] = {0xa5, 0x5a, 0x00}; struct erase_info instr = { - .mtd = nand, + .mtd = mtd, .addr = offset, .len = mtd->erasesize, };