diff options
Diffstat (limited to 'drivers/mtd/mtdblock.c')
-rw-r--r-- | drivers/mtd/mtdblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdblock.c b/drivers/mtd/mtdblock.c index 7c1dc908a174..9b01cb0266e4 100644 --- a/drivers/mtd/mtdblock.c +++ b/drivers/mtd/mtdblock.c | |||
@@ -85,7 +85,7 @@ static int erase_write (struct mtd_info *mtd, unsigned long pos, | |||
85 | set_current_state(TASK_INTERRUPTIBLE); | 85 | set_current_state(TASK_INTERRUPTIBLE); |
86 | add_wait_queue(&wait_q, &wait); | 86 | add_wait_queue(&wait_q, &wait); |
87 | 87 | ||
88 | ret = mtd->erase(mtd, &erase); | 88 | ret = mtd_erase(mtd, &erase); |
89 | if (ret) { | 89 | if (ret) { |
90 | set_current_state(TASK_RUNNING); | 90 | set_current_state(TASK_RUNNING); |
91 | remove_wait_queue(&wait_q, &wait); | 91 | remove_wait_queue(&wait_q, &wait); |