commit | 3fe4bae88460869a8e553397cd9057a4ee7ca341 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Dec 23 19:25:16 2011 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Jan 09 18:25:45 2012 +0000 |
tree | 0158f2cf5abe127cc74d9b63a2c739797de64552 | |
parent | e95e9786455c11c8eac30d76e5289d4e40187f9a [diff] [blame] |
mtd: introduce mtd_suspend interface Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 4a21557..0db455d 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c
@@ -119,7 +119,7 @@ struct mtd_info *mtd = dev_to_mtd(dev); if (mtd && mtd->suspend) - return mtd->suspend(mtd); + return mtd_suspend(mtd); else return 0; }