|
@@ -190,9 +190,8 @@ static void physmap_flash_shutdown(struct platform_device *dev)
|
|
|
int i;
|
|
|
|
|
|
for (i = 0; i < MAX_RESOURCES && info->mtd[i]; i++)
|
|
|
- if (info->mtd[i]->suspend && info->mtd[i]->resume)
|
|
|
- if (mtd_suspend(info->mtd[i]) == 0)
|
|
|
- mtd_resume(info->mtd[i]);
|
|
|
+ if (mtd_suspend(info->mtd[i]) == 0)
|
|
|
+ mtd_resume(info->mtd[i]);
|
|
|
}
|
|
|
#else
|
|
|
#define physmap_flash_shutdown NULL
|