diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-07-06 12:57:51 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-07-06 12:57:51 +0000 |
commit | a00596924bdb47bac223851e79208e4f051677f5 (patch) | |
tree | a85a96cafeb3af548e13391a1cc12468bd13ddf2 /target/linux/generic/patches-2.6.37 | |
parent | 90bd74dd8b87d84697efbd3c2624c58496783dad (diff) | |
download | upstream-a00596924bdb47bac223851e79208e4f051677f5.tar.gz upstream-a00596924bdb47bac223851e79208e4f051677f5.tar.bz2 upstream-a00596924bdb47bac223851e79208e4f051677f5.zip |
refresh patches
SVN-Revision: 27492
Diffstat (limited to 'target/linux/generic/patches-2.6.37')
-rw-r--r-- | target/linux/generic/patches-2.6.37/442-block2mtd_probe.patch | 5 | ||||
-rw-r--r-- | target/linux/generic/patches-2.6.37/475-mtd_concat_sync_fix.patch | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.37/442-block2mtd_probe.patch b/target/linux/generic/patches-2.6.37/442-block2mtd_probe.patch index b9130a446c..a97b74e5fd 100644 --- a/target/linux/generic/patches-2.6.37/442-block2mtd_probe.patch +++ b/target/linux/generic/patches-2.6.37/442-block2mtd_probe.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/devices/block2mtd.c +++ b/drivers/mtd/devices/block2mtd.c -@@ -264,10 +264,12 @@ static int _open_bdev(struct block2mtd_d +@@ -264,11 +264,13 @@ static int _open_bdev(struct block2mtd_d bdev = open_bdev_exclusive(dev->devname, FMODE_READ|FMODE_WRITE, NULL); #ifndef MODULE if (IS_ERR(bdev)) { @@ -9,8 +9,9 @@ /* We might not have rootfs mounted at this point. Try to resolve the device name by other means. */ -+ wait_for_device_probe(); - dev_t devt = name_to_dev_t(dev->devname); ++ wait_for_device_probe(); + devt = name_to_dev_t(dev->devname); if (devt) { bdev = open_by_devnum(devt, FMODE_WRITE | FMODE_READ); + } diff --git a/target/linux/generic/patches-2.6.37/475-mtd_concat_sync_fix.patch b/target/linux/generic/patches-2.6.37/475-mtd_concat_sync_fix.patch index 4e3426b7bd..ff3759e220 100644 --- a/target/linux/generic/patches-2.6.37/475-mtd_concat_sync_fix.patch +++ b/target/linux/generic/patches-2.6.37/475-mtd_concat_sync_fix.patch @@ -1,6 +1,6 @@ --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c -@@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info +@@ -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]; |