kernel: update mtdsplit for linux 4.9
[openwrt/staging/dedeckeh.git] / target / linux / generic / files / drivers / mtd / mtdsplit / mtdsplit_eva.c
index 3edc104f4e901ac234356b73146d94ad40da7f8c..746944ee2e53635326826296bb504e89ddcfed47 100644 (file)
@@ -29,7 +29,7 @@ struct eva_image_header {
 };
 
 static int mtdsplit_parse_eva(struct mtd_info *master,
-                               struct mtd_partition **pparts,
+                               const struct mtd_partition **pparts,
                                struct mtd_part_parser_data *data)
 {
        struct mtd_partition *parts;