kernel: update mtdsplit for linux 4.9
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / mtd / mtdsplit / mtdsplit_lzma.c
index f3d8c040c21b81e80f211234927e9a5594730f88..b7f044a6dc8246102ff6ae7f22f12cf645df1dea 100644 (file)
@@ -28,7 +28,7 @@ struct lzma_header {
 };
 
 static int mtdsplit_parse_lzma(struct mtd_info *master,
-                              struct mtd_partition **pparts,
+                              const struct mtd_partition **pparts,
                               struct mtd_part_parser_data *data)
 {
        struct lzma_header hdr;