mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 15:08:59 +00:00
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>
This commit is contained in:
parent
61717571f2
commit
e1c29086d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue