for (i = 0; i < MAX_RESOURCES && info->mtd[i]; i++)
                if (info->mtd[i]->suspend && info->mtd[i]->resume)
-                       if (info->mtd[i]->suspend(info->mtd[i]) == 0)
+                       if (mtd_suspend(info->mtd[i]) == 0)
                                info->mtd[i]->resume(info->mtd[i]);
 }
 #else
 
 {
        struct pxa2xx_flash_info *info = platform_get_drvdata(dev);
 
-       if (info && info->mtd->suspend(info->mtd) == 0)
+       if (info && mtd_suspend(info->mtd) == 0)
                info->mtd->resume(info->mtd);
 }
 #else
 
        struct rbtx4939_flash_info *info = platform_get_drvdata(dev);
 
        if (info->mtd->suspend && info->mtd->resume)
-               if (info->mtd->suspend(info->mtd) == 0)
+               if (mtd_suspend(info->mtd) == 0)
                        info->mtd->resume(info->mtd);
 }
 #else
 
 static void sa1100_mtd_shutdown(struct platform_device *dev)
 {
        struct sa_info *info = platform_get_drvdata(dev);
-       if (info && info->mtd->suspend(info->mtd) == 0)
+       if (info && mtd_suspend(info->mtd) == 0)
                info->mtd->resume(info->mtd);
 }
 #else
 
 
        for (i = 0; i < concat->num_subdev; i++) {
                struct mtd_info *subdev = concat->subdev[i];
-               if ((rc = subdev->suspend(subdev)) < 0)
+               if ((rc = mtd_suspend(subdev)) < 0)
                        return rc;
        }
        return rc;
 
        struct mtd_info *mtd = dev_to_mtd(dev);
 
        if (mtd && mtd->suspend)
-               return mtd->suspend(mtd);
+               return mtd_suspend(mtd);
        else
                return 0;
 }
 
 static int part_suspend(struct mtd_info *mtd)
 {
        struct mtd_part *part = PART(mtd);
-       return part->master->suspend(part->master);
+       return mtd_suspend(part->master);
 }
 
 static void part_resume(struct mtd_info *mtd)
 
        struct nomadik_nand_host *host = dev_get_drvdata(dev);
        int ret = 0;
        if (host)
-               ret = host->mtd.suspend(&host->mtd);
+               ret = mtd_suspend(&host->mtd);
        return ret;
 }
 
 
 
        for (cs = 0; cs < pdata->num_cs; cs++) {
                mtd = info->host[cs]->mtd;
-               mtd->suspend(mtd);
+               mtd_suspend(mtd);
        }
 
        return 0;
 
        int (*lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
        int (*unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
        int (*is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
+       int (*suspend) (struct mtd_info *mtd);
 
        /* Backing device capabilities for this device
         * - provides mmap capabilities
        struct backing_dev_info *backing_dev_info;
 
        /* Power Management functions */
-       int (*suspend) (struct mtd_info *mtd);
        void (*resume) (struct mtd_info *mtd);
 
        /* Bad block management functions */
        return mtd->is_locked(mtd, ofs, len);
 }
 
+static inline int mtd_suspend(struct mtd_info *mtd)
+{
+       return mtd->suspend(mtd);
+}
+
 static inline struct mtd_info *dev_to_mtd(struct device *dev)
 {
        return dev ? dev_get_drvdata(dev) : NULL;