projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux/ar71xx: add some missing symbols for nand/yaffs targets
[openwrt.git]
/
target
/
linux
/
ar71xx
/
files
/
drivers
/
mtd
/
wrt160nl_part.c
diff --git
a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
index
6cd78b6
..
c8233ce
100644
(file)
--- a/
target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
+++ b/
target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
@@
-123,7
+123,8
@@
static int wrt160nl_parse_partitions(struct mtd_info *master,
goto free_hdr;
}
goto free_hdr;
}
- kernel_len = le32_to_cpu(theader->offsets[1]) + sizeof(struct cybertan_header);
+ kernel_len = le32_to_cpu(theader->offsets[1]) +
+ sizeof(struct cybertan_header);
trx_parts[0].name = "u-boot";
trx_parts[0].offset = 0;
trx_parts[0].name = "u-boot";
trx_parts[0].offset = 0;
@@
-137,7
+138,8
@@
static int wrt160nl_parse_partitions(struct mtd_info *master,
trx_parts[2].name = "rootfs";
trx_parts[2].offset = trx_parts[1].offset + trx_parts[1].size;
trx_parts[2].name = "rootfs";
trx_parts[2].offset = trx_parts[1].offset + trx_parts[1].size;
- trx_parts[2].size = master->size - 6 * master->erasesize - trx_parts[1].size;
+ trx_parts[2].size = master->size - 6 * master->erasesize -
+ trx_parts[1].size;
trx_parts[2].mask_flags = 0;
trx_parts[3].name = "nvram";
trx_parts[2].mask_flags = 0;
trx_parts[3].name = "nvram";
This page took
0.022474 seconds
and
4
git commands to generate.