diff options
Diffstat (limited to 'drivers/mtd/mtdcore.c')
-rw-r--r-- | drivers/mtd/mtdcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 0db455d31148..376fbfdb09aa 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c | |||
@@ -129,7 +129,7 @@ static int mtd_cls_resume(struct device *dev) | |||
129 | struct mtd_info *mtd = dev_to_mtd(dev); | 129 | struct mtd_info *mtd = dev_to_mtd(dev); |
130 | 130 | ||
131 | if (mtd && mtd->resume) | 131 | if (mtd && mtd->resume) |
132 | mtd->resume(mtd); | 132 | mtd_resume(mtd); |
133 | return 0; | 133 | return 0; |
134 | } | 134 | } |
135 | 135 | ||