diff options
Diffstat (limited to 'drivers/mtd/mtdconcat.c')
-rw-r--r-- | drivers/mtd/mtdconcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c index 6df4d4d4eb92..76123bd49314 100644 --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c | |||
@@ -379,7 +379,7 @@ static int concat_dev_erase(struct mtd_info *mtd, struct erase_info *erase) | |||
379 | * FIXME: Allow INTERRUPTIBLE. Which means | 379 | * FIXME: Allow INTERRUPTIBLE. Which means |
380 | * not having the wait_queue head on the stack. | 380 | * not having the wait_queue head on the stack. |
381 | */ | 381 | */ |
382 | err = mtd->erase(mtd, erase); | 382 | err = mtd_erase(mtd, erase); |
383 | if (!err) { | 383 | if (!err) { |
384 | set_current_state(TASK_UNINTERRUPTIBLE); | 384 | set_current_state(TASK_UNINTERRUPTIBLE); |
385 | add_wait_queue(&waitq, &wait); | 385 | add_wait_queue(&waitq, &wait); |