projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: introduce mtd_suspend interface
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
mtdconcat.c
diff --git
a/drivers/mtd/mtdconcat.c
b/drivers/mtd/mtdconcat.c
index 272ebc01f95beb8fb011ae08114581fde8d2466f..36bb1c99925b3c48bba68184ceacccf1ac6ad754 100644
(file)
--- a/
drivers/mtd/mtdconcat.c
+++ b/
drivers/mtd/mtdconcat.c
@@
-631,7
+631,7
@@
static int concat_suspend(struct mtd_info *mtd)
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;