openwrtv4/target/linux/ar71xx/patches-3.2/307-tplinkpart-3.2-fixes.patch

12 lines
367 B
Diff
Raw Normal View History

--- a/drivers/mtd/tplinkpart.c
+++ b/drivers/mtd/tplinkpart.c
@@ -108,7 +108,7 @@ static int tplink_check_rootfs_magic(str
static int tplink_parse_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
- unsigned long origin)
+ struct mtd_part_parser_data *data)
{
struct mtd_partition *parts;
struct tplink_fw_header *header;