kernel: update mtdsplit for linux 4.9
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / mtd / mtdsplit / mtdsplit_squashfs.c
index 43b44d5642b6039b4c4c0a233b5cdfd600eb3d32..79e1f73bca15c7509d2d6023ab7458660be3d2ce 100644 (file)
@@ -23,7 +23,7 @@
 
 static int
 mtdsplit_parse_squashfs(struct mtd_info *master,
-                       struct mtd_partition **pparts,
+                       const struct mtd_partition **pparts,
                        struct mtd_part_parser_data *data)
 {
        struct mtd_partition *part;