summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.2/307-tplinkpart-3.2-fixes.patch
blob: 6c0aab8fc7257ae04353a5bd1049aaf2c20ae87c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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;