kernel: update mtdsplit for linux 4.9
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / mtd / mtdsplit / mtdsplit_trx.c
index 29f47b283e7e4db266bc227f9c167b363286aeaa..53aebc5987e88257261eb74a35d07bbd650a01cd 100644 (file)
@@ -56,7 +56,7 @@ read_trx_header(struct mtd_info *mtd, size_t offset,
 
 static int
 mtdsplit_parse_trx(struct mtd_info *master,
-                  struct mtd_partition **pparts,
+                  const struct mtd_partition **pparts,
                   struct mtd_part_parser_data *data)
 {
        struct mtd_partition *parts;