diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-04-12 19:39:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-04-12 19:39:20 +0000 |
commit | 62100399e394f9d4aae71a5e409c91137333797b (patch) | |
tree | b39442bafc4ffd370397f3d5caeb7fe639cb9a86 /target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch | |
parent | 30e3b0f535b6040f543bad3aa599234249ae83f1 (diff) | |
download | master-187ad058-62100399e394f9d4aae71a5e409c91137333797b.tar.gz master-187ad058-62100399e394f9d4aae71a5e409c91137333797b.tar.bz2 master-187ad058-62100399e394f9d4aae71a5e409c91137333797b.zip |
generic: Add support for 2.6.39
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26615 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch b/target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch new file mode 100644 index 0000000000..1afd2ff20a --- /dev/null +++ b/target/linux/generic/patches-2.6.39/066-block2mtd_probe.patch @@ -0,0 +1,10 @@ +--- a/drivers/mtd/devices/block2mtd.c ++++ b/drivers/mtd/devices/block2mtd.c +@@ -268,6 +268,7 @@ static int _open_bdev(struct block2mtd_d + /* 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); + if (devt) + bdev = blkdev_get_by_dev(devt, mode, dev); |