diff options
Diffstat (limited to 'drivers/mtd/tests/mtd_pagetest.c')
-rw-r--r-- | drivers/mtd/tests/mtd_pagetest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/tests/mtd_pagetest.c b/drivers/mtd/tests/mtd_pagetest.c index 103cac480fee..ce17cbe918c5 100644 --- a/drivers/mtd/tests/mtd_pagetest.c +++ b/drivers/mtd/tests/mtd_pagetest.c | |||
@@ -523,6 +523,7 @@ static int __init mtd_pagetest_init(void) | |||
523 | do_div(tmp, mtd->erasesize); | 523 | do_div(tmp, mtd->erasesize); |
524 | ebcnt = tmp; | 524 | ebcnt = tmp; |
525 | pgcnt = mtd->erasesize / mtd->writesize; | 525 | pgcnt = mtd->erasesize / mtd->writesize; |
526 | pgsize = mtd->writesize; | ||
526 | 527 | ||
527 | printk(PRINT_PREF "MTD device size %llu, eraseblock size %u, " | 528 | printk(PRINT_PREF "MTD device size %llu, eraseblock size %u, " |
528 | "page size %u, count of eraseblocks %u, pages per " | 529 | "page size %u, count of eraseblocks %u, pages per " |