diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-10-27 07:57:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-10-27 07:57:58 +0000 |
commit | 269872fe1e2272567461978b2afc29fd794a5bc5 (patch) | |
tree | 301b650169deace76b96b44a922dff7911190103 /target | |
parent | 973eda60779017bef8fc1b94344dbe3b0eaec081 (diff) | |
download | mtk-20170518-269872fe1e2272567461978b2afc29fd794a5bc5.zip mtk-20170518-269872fe1e2272567461978b2afc29fd794a5bc5.tar.gz mtk-20170518-269872fe1e2272567461978b2afc29fd794a5bc5.tar.bz2 |
ar71xx: use mtd_read in wrt160nl_part
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33951
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/wrt160nl_part.c | 4 |
1 files changed, 2 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 72927f6..1ced8ac 100644 --- 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 = master->read(master, uboot_len, sizeof(*header), - &retlen, (void *) header); + ret = mtd_read(master, uboot_len, sizeof(*header), + &retlen, (void *) header); if (ret) goto free_hdr; |