projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some fixes to the etrax build
[openwrt.git]
/
target
/
linux
/
rdc-2.6
/
files
/
drivers
/
mtd
/
maps
/
rdc3210.c
diff --git
a/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c
b/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c
index
cd449ba
..
3bd6cf2
100644
(file)
--- a/
target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c
+++ b/
target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c
@@
-14,6
+14,7
@@
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/autoconf.h>
#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;
#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;
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
rdc3210_parts[2].offset = rdc3210_parts[0].offset + (((tmp / tmp2) + ((tmp % tmp2) ? 1 : 0)) * tmp2);
}
else
This page took
0.02466 seconds
and
4
git commands to generate.