mtd: introduce mtd_suspend interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:

committed by
David Woodhouse

parent
e95e978645
commit
3fe4bae884
@@ -1258,7 +1258,7 @@ static int pxa3xx_nand_suspend(struct platform_device *pdev, pm_message_t state)
|
||||
|
||||
for (cs = 0; cs < pdata->num_cs; cs++) {
|
||||
mtd = info->host[cs]->mtd;
|
||||
mtd->suspend(mtd);
|
||||
mtd_suspend(mtd);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user