You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
296 B
13 lines
296 B
13 years ago
|
--- a/drivers/mtd/mtdconcat.c
|
||
|
+++ b/drivers/mtd/mtdconcat.c
|
||
|
@@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info
|
||
|
|
||
|
for (i = 0; i < concat->num_subdev; i++) {
|
||
|
struct mtd_info *subdev = concat->subdev[i];
|
||
|
- subdev->sync(subdev);
|
||
|
+ if (subdev->sync)
|
||
|
+ subdev->sync(subdev);
|
||
|
}
|
||
|
}
|
||
|
|