some fixes to the etrax build
[openwrt.git] / target / linux / rdc-2.6 / files / drivers / mtd / maps / rdc3210.c
index cd449ba..3bd6cf2 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/mtd/map.h>
 #include <linux/mtd/partitions.h>
 #include <linux/autoconf.h>
+#include <linux/sched.h>
 #include <linux/squashfs_fs.h>
 
 static struct mtd_info         *rdc3210_mtd;
@@ -259,7 +260,7 @@ static int __init init_rdc3210_map(void)
                        len = 1;
                        tmp4 = tmp3;
                        tmp = hdr->imagesz;
-               rdc3210_parts[2].name   = "rootfs";
+               rdc3210_parts[2].name   = "rootfs_data";
                rdc3210_parts[2].offset = rdc3210_parts[0].offset + (((tmp / tmp2) + ((tmp % tmp2) ? 1 : 0)) * tmp2);
                }
                else
This page took 0.021311 seconds and 4 git commands to generate.