openwrtv4/target/linux/ar71xx/patches-3.2/308-wrt160nl_part-3.2-fixes.patch

12 lines
361 B
Diff
Raw Normal View History

--- a/drivers/mtd/wrt160nl_part.c
+++ b/drivers/mtd/wrt160nl_part.c
@@ -83,7 +83,7 @@ struct wrt160nl_header {
static int wrt160nl_parse_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
- unsigned long origin)
+ struct mtd_part_parser_data *data)
{
struct wrt160nl_header *header;
struct trx_header *theader;