mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 05:24:59 +02:00
ed6be451a0
Also make linux identify itself properly as 3.0, not 3.0.0. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27191 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
296 B
Diff
13 lines
296 B
Diff
--- 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);
|
|
}
|
|
}
|
|
|