summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests/nandbiterrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/tests/nandbiterrs.c')
-rw-r--r--drivers/mtd/tests/nandbiterrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/tests/nandbiterrs.c b/drivers/mtd/tests/nandbiterrs.c
index 09a4cca..f26dec8 100644
--- a/drivers/mtd/tests/nandbiterrs.c
+++ b/drivers/mtd/tests/nandbiterrs.c
@@ -290,7 +290,7 @@ static int overwrite_test(void)
while (opno < max_overwrite) {
- err = rewrite_page(0);
+ err = write_page(0);
if (err)
break;
OpenPOWER on IntegriCloud