projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix .21 compilation on memory.c (#1778)
[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
..
fd16d90
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
@@
-259,7
+259,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.02128 seconds
and
4
git commands to generate.