projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2943f
)
AA: ar71xx: use mtd_read in wrt160nl_part
author
Gabor Juhos
<
[email protected]
>
Sun, 28 Oct 2012 12:24:34 +0000
(12:24 +0000)
committer
Gabor Juhos
<
[email protected]
>
Sun, 28 Oct 2012 12:24:34 +0000
(12:24 +0000)
Backport of r33951.
Signed-off-by: Gabor Juhos <
[email protected]
>
SVN-Revision: 33973
target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
b/target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
index 72927f6f25780e8b4296401a6a137b4a9826cbcf..1ced8acc7b2a5768aa43210458935b598166cf3e 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
+++ b/
target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c
@@
-113,8
+113,8
@@
static int wrt160nl_parse_partitions(struct mtd_info *master,
goto free_parts;
}
- ret = m
aster->
read(master, uboot_len, sizeof(*header),
-
&retlen, (void *) header);
+ ret = m
td_
read(master, uboot_len, sizeof(*header),
+ &retlen, (void *) header);
if (ret)
goto free_hdr;