diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-11-12 18:51:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-11-12 18:51:04 +0000 |
commit | ab91049eb33f3bfee2f85928fd3f74b9d2f40ae1 (patch) | |
tree | 15a51e6562559016a76e75642eeb584de1851fb5 /target/linux/ar71xx/files/drivers/mtd | |
parent | cea635ab150079bb18cc618b212e54b33192ac33 (diff) | |
download | master-187ad058-ab91049eb33f3bfee2f85928fd3f74b9d2f40ae1.tar.gz master-187ad058-ab91049eb33f3bfee2f85928fd3f74b9d2f40ae1.tar.bz2 master-187ad058-ab91049eb33f3bfee2f85928fd3f74b9d2f40ae1.zip |
ar71xx: wrap long lines
(build errors has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23977 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c index 6cd78b628f..c8233ce59a 100644 --- 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; } - 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; @@ -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].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"; |