brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.30 / 066-block2mtd_probe.patch
1 --- a/drivers/mtd/devices/block2mtd.c
2 +++ b/drivers/mtd/devices/block2mtd.c
3 @@ -268,6 +268,7 @@ static int _open_bdev(struct block2mtd_d
4 /* We might not have rootfs mounted at this point. Try
5 to resolve the device name by other means. */
6
7 + wait_for_device_probe();
8 dev_t devt = name_to_dev_t(dev->devname);
9 if (devt) {
10 bdev = open_by_devnum(devt, FMODE_WRITE | FMODE_READ);
This page took 0.043689 seconds and 5 git commands to generate.