v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / target / linux / generic / files / drivers / mtd / mtdsplit / mtdsplit_brnimage.c
index 1f4325ac9a44a37ca96956c4baee5a679d75a7a0..3f2d79601a1446e42f6f3cc448096f306bc29889 100644 (file)
@@ -27,7 +27,7 @@
 #define BRNIMAGE_MAX_OVERHEAD  (BRNIMAGE_ALIGN_BYTES + BRNIMAGE_FOOTER_SIZE)
 
 static int mtdsplit_parse_brnimage(struct mtd_info *master,
-                               struct mtd_partition **pparts,
+                               const struct mtd_partition **pparts,
                                struct mtd_part_parser_data *data)
 {
        struct mtd_partition *parts;