projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269872f
)
generic: use mtd_read in myloader parser
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 27 Oct 2012 07:57:59 +0000
(07:57 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 27 Oct 2012 07:57:59 +0000
(07:57 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33952
target/linux/generic/files/drivers/mtd/myloader.c
patch
|
blob
|
history
diff --git
a/target/linux/generic/files/drivers/mtd/myloader.c
b/target/linux/generic/files/drivers/mtd/myloader.c
index a13752dd9827f8c804a9cb2efe4a423fa0ce6dde..33459819daa7c360043672785df6556014d50376 100644
(file)
--- a/
target/linux/generic/files/drivers/mtd/myloader.c
+++ b/
target/linux/generic/files/drivers/mtd/myloader.c
@@
-72,8
+72,8
@@
static int myloader_parse_partitions(struct mtd_info *master,
printk(KERN_DEBUG "%s: searching for MyLoader partition table"
" at offset 0x%lx\n", master->name, offset);
- ret = m
aster->
read(master, offset, sizeof(*buf), &retlen,
-
(void *)buf);
+ ret = m
td_
read(master, offset, sizeof(*buf), &retlen,
+ (void *)buf);
if (ret)
goto out_free_buf;