bcm47xx: Add basic 2.6.32 support.
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.31 / 065-rootfs_split.patch
index a642dee..50ca25c 100644 (file)
 +                      if (ROOT_DEV == 0) {
 +                              printk(KERN_NOTICE "mtd: partition \"rootfs\" "
 +                                      "set to be root filesystem\n");
-+                              ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, i);
++                              ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, slave->mtd.index);
 +                      }
 +#endif
 +#ifdef CONFIG_MTD_ROOTFS_SPLIT
This page took 0.019824 seconds and 4 git commands to generate.