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 <max.krummenacher@toradex.com>
master
Max Krummenacher 9 years ago committed by Scott Wood
parent 61717571f2
commit e1c29086d5
  1. 2
      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,
};

Loading…
Cancel
Save