1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:53:45 +02:00

ar71xx: use mtd_read in wrt160nl_part

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33951 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-10-27 07:57:58 +00:00
parent 584868a74e
commit 5751fd8e2a

View File

@ -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;