diff options
Diffstat (limited to 'drivers/mtd/tests/mtd_readtest.c')
-rw-r--r-- | drivers/mtd/tests/mtd_readtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/tests/mtd_readtest.c b/drivers/mtd/tests/mtd_readtest.c index 5eaeada84284..ad5fd0df86ee 100644 --- a/drivers/mtd/tests/mtd_readtest.c +++ b/drivers/mtd/tests/mtd_readtest.c | |||
@@ -132,7 +132,7 @@ static int is_block_bad(int ebnum) | |||
132 | loff_t addr = ebnum * mtd->erasesize; | 132 | loff_t addr = ebnum * mtd->erasesize; |
133 | int ret; | 133 | int ret; |
134 | 134 | ||
135 | ret = mtd->block_isbad(mtd, addr); | 135 | ret = mtd_block_isbad(mtd, addr); |
136 | if (ret) | 136 | if (ret) |
137 | printk(PRINT_PREF "block %d is bad\n", ebnum); | 137 | printk(PRINT_PREF "block %d is bad\n", ebnum); |
138 | return ret; | 138 | return ret; |